MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / decode_data_gcr

Function decode_data_gcr

arch/victor9k/decoder.cc:20–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 {&SECTOR_RECORD_PATTERN, &DATA_RECORD_PATTERN});
19
20static 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
33static Bytes decode(const std::vector<bool>& bits)
34{

Callers 1

decodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected