mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 03:20:00 +03:00
minor define fixes found during documentation work (#13631)
This commit is contained in:
parent
764d82d4fd
commit
7ae92a9319
4 changed files with 5 additions and 5 deletions
|
@ -438,7 +438,7 @@ static void validateAndFixConfig(void)
|
|||
featureDisableImmediate(FEATURE_TELEMETRY);
|
||||
#endif
|
||||
|
||||
#ifndef USE_PWM
|
||||
#ifndef USE_RX_PWM
|
||||
featureDisableImmediate(FEATURE_RX_PARALLEL_PWM);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ typedef struct {
|
|||
LSM303DLHC_TIMEOUT_UserCallback() function is called whenever a timeout condition
|
||||
occure during communication (waiting transmit data register empty flag(TXE)
|
||||
or waiting receive data register is not empty flag (RXNE)). */
|
||||
/* #define USE_DEFAULT_TIMEOUT_CALLBACK */
|
||||
// #define USE_DEFAULT_TIMEOUT_CALLBACK
|
||||
|
||||
/* Maximum Timeout values for flags waiting loops. These timeouts are not based
|
||||
on accurate values, they just guarantee that the application will not remain
|
||||
|
|
|
@ -171,9 +171,9 @@
|
|||
#endif
|
||||
|
||||
/****************** USB OTG MODE CONFIGURATION ********************************/
|
||||
//#define USE_HOST_MODE
|
||||
// #define USE_HOST_MODE
|
||||
#define USE_DEVICE_MODE
|
||||
//#define USE_OTG_MODE
|
||||
// #define USE_OTG_MODE
|
||||
|
||||
|
||||
#ifndef USB_OTG_FS_CORE
|
||||
|
|
|
@ -236,7 +236,7 @@ static void configureQuadSPIBusses(void)
|
|||
#ifdef USE_QUADSPI_DEVICE_1
|
||||
quadSpiInit(QUADSPIDEV_1);
|
||||
#endif
|
||||
#endif // USE_QUAD_SPI
|
||||
#endif // USE_QUADSPI
|
||||
}
|
||||
|
||||
static void configureOctoSPIBusses(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue