mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
Merge pull request #8329 from mikeller/fix_build_without_rc_smoothing
Fixed build for targets without RC smoothing.
This commit is contained in:
commit
4e78ad02c9
1 changed files with 3 additions and 0 deletions
|
@ -241,6 +241,8 @@ static void mspFc4waySerialCommand(sbuf_t *dst, sbuf_t *src, mspPostProcessFnPtr
|
|||
}
|
||||
#endif //USE_SERIAL_4WAY_BLHELI_INTERFACE
|
||||
|
||||
// TODO: Remove the pragma once this is called from unconditional code
|
||||
#pragma GCC diagnostic ignored "-Wunused-function"
|
||||
static void configRebootUpdateCheckU8(uint8_t *parm, uint8_t value)
|
||||
{
|
||||
if (*parm != value) {
|
||||
|
@ -248,6 +250,7 @@ static void configRebootUpdateCheckU8(uint8_t *parm, uint8_t value)
|
|||
}
|
||||
*parm = value;
|
||||
}
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
static void mspRebootFn(serialPort_t *serialPort)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue