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

Function encode_header_gcr

arch/brother/encoder.cc:11–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#include "lib/encoders/encoders.pb.h"
10
11static 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
24static int encode_data_gcr(uint8_t data)
25{

Callers 1

write_sector_headerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected