MCPcopy Create free account
hub / github.com/kiibohd/controller / ihex_bytes_within_range

Function ihex_bytes_within_range

LoadFile/teensy_loader_cli.c:751–763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749}
750
751int ihex_bytes_within_range(int begin, int end)
752{
753 int i;
754
755 if (begin < 0 || begin >= MAX_MEMORY_SIZE ||
756 end < 0 || end >= MAX_MEMORY_SIZE) {
757 return 0;
758 }
759 for (i=begin; i<=end; i++) {
760 if (firmware_mask[i]) return 1;
761 }
762 return 0;
763}
764
765void ihex_get_data(int addr, int len, unsigned char *bytes)
766{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…