MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / readPartitionLabel

Function readPartitionLabel

src/sd_functions.cpp:486–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486static String readPartitionLabel(const uint8_t *entry) {
487 char label[17] = {0};
488 memcpy(label, entry + 12, 16);
489 label[16] = '\0';
490 return String(label);
491}
492
493static uint32_t
494boundedSdPartitionPayload(File &file, uint32_t offset, uint32_t declaredSize, uint32_t maxSize) {

Callers 1

updateFromSDFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected