mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-04-29 03:46:24 -04:00
Cleanup
This commit is contained in:
parent
7e30648968
commit
13266c96db
3
Device.h
3
Device.h
@ -147,9 +147,6 @@ uint32_t retrieve_application_size() {
|
|||||||
uint8_t bytes[4];
|
uint8_t bytes[4];
|
||||||
memcpy(bytes, (const void*)IMG_SIZE_START, 4);
|
memcpy(bytes, (const void*)IMG_SIZE_START, 4);
|
||||||
uint32_t fw_len = bytes[0] | bytes[1] << 8 | bytes[2] << 16 | bytes[3] << 24;
|
uint32_t fw_len = bytes[0] | bytes[1] << 8 | bytes[2] << 16 | bytes[3] << 24;
|
||||||
Serial.println("FIRMWARE LEN:");
|
|
||||||
Serial.print(fw_len);
|
|
||||||
Serial.flush();
|
|
||||||
return fw_len;
|
return fw_len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user