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

Function encode_data_gcr

arch/brother/encoder.cc:24–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24static int encode_data_gcr(uint8_t data)
25{
26 switch (data)
27 {
28#define GCR_ENTRY(gcr, data) \
29 case data: \
30 return gcr;
31#include "data_gcr.h"
32#undef GCR_ENTRY
33 }
34 return -1;
35}
36
37static void write_bits(
38 std::vector<bool>& bits, unsigned& cursor, uint32_t data, int width)

Callers 1

write_sector_dataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected