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:
parent
a3a3b74fd5
commit
aa833b2b2f
6 changed files with 13 additions and 17 deletions
|
@ -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 *) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue