| 18 | {&SECTOR_RECORD_PATTERN, &DATA_RECORD_PATTERN}); |
| 19 | |
| 20 | static int decode_data_gcr(uint8_t gcr) |
| 21 | { |
| 22 | switch (gcr) |
| 23 | { |
| 24 | #define GCR_ENTRY(gcr, data) \ |
| 25 | case gcr: \ |
| 26 | return data; |
| 27 | #include "data_gcr.h" |
| 28 | #undef GCR_ENTRY |
| 29 | } |
| 30 | return -1; |
| 31 | } |
| 32 | |
| 33 | static Bytes decode(const std::vector<bool>& bits) |
| 34 | { |