1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 08:45:36 +03:00

Simplify cliWriter structure definition as use of uint8_t data[] (flexible array member) at the end of the bufWriter_t structure is breaking the F411 build

This commit is contained in:
Steve Evans 2022-07-24 13:06:13 +01:00
parent a3a3b74fd5
commit aa833b2b2f
6 changed files with 13 additions and 17 deletions

View file

@ -325,7 +325,7 @@ uint8_t serialRead(serialPort_t *){return 0;}
void bufWriterAppend(bufWriter_t *, uint8_t ch){ printf("%c", ch); }
void serialWriteBufShim(void *, const uint8_t *, int) {}
bufWriter_t *bufWriterInit(uint8_t *, int, bufWrite_t, void *) {return NULL;}
void bufWriterInit(bufWriter_t *, uint8_t *, int, bufWrite_t, void *) { }
void setArmingDisabled(armingDisableFlags_e) {}
void waitForSerialPortToFinishTransmitting(serialPort_t *) {}