1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 03:50:02 +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); featureDisableImmediate(FEATURE_TELEMETRY);
#endif #endif
#ifndef USE_PWM #ifndef USE_RX_PWM
featureDisableImmediate(FEATURE_RX_PARALLEL_PWM); featureDisableImmediate(FEATURE_RX_PARALLEL_PWM);
#endif #endif

View file

@ -65,7 +65,7 @@ typedef struct {
LSM303DLHC_TIMEOUT_UserCallback() function is called whenever a timeout condition LSM303DLHC_TIMEOUT_UserCallback() function is called whenever a timeout condition
occure during communication (waiting transmit data register empty flag(TXE) occure during communication (waiting transmit data register empty flag(TXE)
or waiting receive data register is not empty flag (RXNE)). */ 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 /* Maximum Timeout values for flags waiting loops. These timeouts are not based
on accurate values, they just guarantee that the application will not remain on accurate values, they just guarantee that the application will not remain

View file

@ -236,7 +236,7 @@ static void configureQuadSPIBusses(void)
#ifdef USE_QUADSPI_DEVICE_1 #ifdef USE_QUADSPI_DEVICE_1
quadSpiInit(QUADSPIDEV_1); quadSpiInit(QUADSPIDEV_1);
#endif #endif
#endif // USE_QUAD_SPI #endif // USE_QUADSPI
} }
static void configureOctoSPIBusses(void) static void configureOctoSPIBusses(void)