Skip to content

Commit

Permalink
minor define fixes found during documentation work (#13631)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctzsnooze committed May 11, 2024
1 parent 764d82d commit 7ae92a9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/config/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/main/drivers/accgyro_legacy/accgyro_lsm303dlhc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/main/drivers/stm32/vcpf4/usb_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/fc/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7ae92a9

Please sign in to comment.