1
0
Fork 0
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:
ctzsnooze 2024-05-12 04:50:41 +10:00 committed by GitHub
parent 764d82d4fd
commit 7ae92a9319
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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)