| 9 | #include "lib/encoders/encoders.pb.h" |
| 10 | |
| 11 | static int encode_header_gcr(uint16_t word) |
| 12 | { |
| 13 | switch (word) |
| 14 | { |
| 15 | #define GCR_ENTRY(gcr, data) \ |
| 16 | case data: \ |
| 17 | return gcr; |
| 18 | #include "header_gcr.h" |
| 19 | #undef GCR_ENTRY |
| 20 | } |
| 21 | return -1; |
| 22 | } |
| 23 | |
| 24 | static int encode_data_gcr(uint8_t data) |
| 25 | { |
no outgoing calls
no test coverage detected