| 31 | */ |
| 32 | |
| 33 | static int decode_data_gcr(uint8_t gcr) |
| 34 | { |
| 35 | switch (gcr) |
| 36 | { |
| 37 | #define GCR_ENTRY(gcr, data) \ |
| 38 | case gcr: \ |
| 39 | return data; |
| 40 | #include "data_gcr.h" |
| 41 | #undef GCR_ENTRY |
| 42 | } |
| 43 | return -1; |
| 44 | } |
| 45 | |
| 46 | static int decode_header_gcr(uint16_t word) |
| 47 | { |