mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
SPI in program I/O mode should always return false
This commit is contained in:
parent
62f0eb7ed3
commit
a3b1ad9e13
1 changed files with 2 additions and 2 deletions
|
@ -142,14 +142,14 @@ bool busBusy(const busDevice_t *busdev, bool *error)
|
|||
#ifdef USE_SPI
|
||||
case BUSTYPE_SPI:
|
||||
// No waiting on SPI
|
||||
#ifdef USE_SPI_TRANSACTION
|
||||
return false;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef USE_I2C
|
||||
case BUSTYPE_I2C:
|
||||
return i2cBusBusy(busdev, error);
|
||||
#endif
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue