1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

Reorder box_t to save few hundreds of bytes

This commit is contained in:
Štěpán Dalecký 2021-12-26 19:49:14 +01:00
parent 5933d96bc3
commit 579e8005af
3 changed files with 55 additions and 55 deletions

View file

@ -235,7 +235,7 @@ size_t getEEPROMStorageSize() {
void setPrintfSerialPort(struct serialPort_s) {}
static const box_t boxes[] = { { 0, "DUMMYBOX", 0 } };
static const box_t boxes[] = { { "DUMMYBOX", 0, 0 } };
const box_t *findBoxByPermanentId(uint8_t) { return &boxes[0]; }
const box_t *findBoxByBoxId(boxId_e) { return &boxes[0]; }