aboutsummaryrefslogtreecommitdiffstats
path: root/boards
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-11-10 10:45:28 +1000
committerinmarket <andrewh@inmarket.com.au>2018-11-10 10:45:28 +1000
commitd528fb218d2773c051098cd44cb6eb0eb0732be0 (patch)
treea0a16a4ac68bf1c78c69a163c0865c9a72a9fd4d /boards
parent8a9ed5195b3345635533b6150b9303abbaf5adf3 (diff)
downloaduGFX-d528fb218d2773c051098cd44cb6eb0eb0732be0.tar.gz
uGFX-d528fb218d2773c051098cd44cb6eb0eb0732be0.tar.bz2
uGFX-d528fb218d2773c051098cd44cb6eb0eb0732be0.zip
Minor fixups
Diffstat (limited to 'boards')
-rw-r--r--boards/addons/ginput/touch/MCU/ginput_lld_mouse_board_olimex_pic32mx_lcd.h4
-rw-r--r--boards/base/Embest-STM32-DMSTF4BB/example_chibios_2.x/board.c4
-rw-r--r--boards/base/Marlin/chibios_board/board.c2
-rw-r--r--boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h2
-rw-r--r--boards/base/Olimex-SAM7EX256-GE8/board_SSD1306_i2c.h4
-rw-r--r--boards/base/Olimex-STM32-LCD/gmouse_lld_MCU_board.h4
6 files changed, 10 insertions, 10 deletions
diff --git a/boards/addons/ginput/touch/MCU/ginput_lld_mouse_board_olimex_pic32mx_lcd.h b/boards/addons/ginput/touch/MCU/ginput_lld_mouse_board_olimex_pic32mx_lcd.h
index 8473ae00..c338b27a 100644
--- a/boards/addons/ginput/touch/MCU/ginput_lld_mouse_board_olimex_pic32mx_lcd.h
+++ b/boards/addons/ginput/touch/MCU/ginput_lld_mouse_board_olimex_pic32mx_lcd.h
@@ -48,13 +48,13 @@ static struct ADCDriver ADCD;
#define YPOS 11 // D
static const ADCConversionGroup ADC_X_CG = {
- .circular = FALSE,
+ .circular = 0,
.num_channels = 1,
.channels = 1 << XNEG,
};
static const ADCConversionGroup ADC_Y_CG = {
- .circular = FALSE,
+ .circular = 0,
.num_channels = 1,
.channels = 1 << YPOS,
};
diff --git a/boards/base/Embest-STM32-DMSTF4BB/example_chibios_2.x/board.c b/boards/base/Embest-STM32-DMSTF4BB/example_chibios_2.x/board.c
index 48440444..5b03954d 100644
--- a/boards/base/Embest-STM32-DMSTF4BB/example_chibios_2.x/board.c
+++ b/boards/base/Embest-STM32-DMSTF4BB/example_chibios_2.x/board.c
@@ -74,7 +74,7 @@ bool_t sdc_lld_is_write_protected(SDCDriver *sdcp) {
(void)sdcp;
- return FALSE;
+ return 0;
}
#endif /* HAL_USE_SDC */
@@ -96,7 +96,7 @@ bool_t mmc_lld_is_write_protected(MMCDriver *mmcp) {
(void)mmcp;
- return FALSE;
+ return 0;
}
#endif
diff --git a/boards/base/Marlin/chibios_board/board.c b/boards/base/Marlin/chibios_board/board.c
index ada87afb..68eccdd6 100644
--- a/boards/base/Marlin/chibios_board/board.c
+++ b/boards/base/Marlin/chibios_board/board.c
@@ -77,7 +77,7 @@ return (bool_t)!palReadPad(GPIOD, GPIOD_SDIO_CD_N);
bool_t sdc_lld_is_write_protected(SDCDriver *sdcp) {
(void)sdcp;
-return FALSE;
+return 0;
}
#endif /* HAL_USE_SDC */
diff --git a/boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h b/boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h
index b45c26b3..b78df8b6 100644
--- a/boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h
+++ b/boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h
@@ -27,7 +27,7 @@
#define ADC_BUF_DEPTH 1
static const ADCConversionGroup adcgrpcfg = {
- FALSE,
+ 0,
ADC_NUM_CHANNELS,
0,
0,
diff --git a/boards/base/Olimex-SAM7EX256-GE8/board_SSD1306_i2c.h b/boards/base/Olimex-SAM7EX256-GE8/board_SSD1306_i2c.h
index b5b2aa86..06e38ae2 100644
--- a/boards/base/Olimex-SAM7EX256-GE8/board_SSD1306_i2c.h
+++ b/boards/base/Olimex-SAM7EX256-GE8/board_SSD1306_i2c.h
@@ -84,9 +84,9 @@
gU8 data[2]; \
data[0] = 0; \
data[1] = cmd; \
- i2cMasterTransmitTimeout (UEXT_I2C, I2C_ADDRESS, data, 2, 0, 0, gDelayForever); \
+ i2cMasterTransmitTimeout (UEXT_I2C, I2C_ADDRESS, data, 2, 0, 0, TIME_INFINITE); \
}
- #define I2C_WRITEBYTES(pdata, len) i2cMasterTransmitTimeout (UEXT_I2C, I2C_ADDRESS, pdata, length, 0, 0, gDelayForever)
+ #define I2C_WRITEBYTES(pdata, len) i2cMasterTransmitTimeout (UEXT_I2C, I2C_ADDRESS, pdata, length, 0, 0, TIME_INFINITE)
#else
#error "SSD1306 board file: Unsupported I2C method"
diff --git a/boards/base/Olimex-STM32-LCD/gmouse_lld_MCU_board.h b/boards/base/Olimex-STM32-LCD/gmouse_lld_MCU_board.h
index 67086233..92fe17f4 100644
--- a/boards/base/Olimex-STM32-LCD/gmouse_lld_MCU_board.h
+++ b/boards/base/Olimex-STM32-LCD/gmouse_lld_MCU_board.h
@@ -27,7 +27,7 @@
#define ADC_BUF_DEPTH 1
static const ADCConversionGroup adc_y_config = {
- FALSE,
+ 0,
ADC_NUM_CHANNELS,
0,
0,
@@ -39,7 +39,7 @@ static const ADCConversionGroup adc_y_config = {
};
static const ADCConversionGroup adc_x_config = {
- FALSE,
+ 0,
ADC_NUM_CHANNELS,
0,
0,