aboutsummaryrefslogtreecommitdiffstats
path: root/boards/addons/gdisp/board_HX8347D_stm32f4discovery.h
diff options
context:
space:
mode:
Diffstat (limited to 'boards/addons/gdisp/board_HX8347D_stm32f4discovery.h')
-rw-r--r--boards/addons/gdisp/board_HX8347D_stm32f4discovery.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/boards/addons/gdisp/board_HX8347D_stm32f4discovery.h b/boards/addons/gdisp/board_HX8347D_stm32f4discovery.h
index df287477..f486841b 100644
--- a/boards/addons/gdisp/board_HX8347D_stm32f4discovery.h
+++ b/boards/addons/gdisp/board_HX8347D_stm32f4discovery.h
@@ -28,12 +28,12 @@
static const PWMConfig pwmcfg = {
1000000, /* 1 MHz PWM clock frequency. */
100, /* PWM period is 100 cycles. */
- NULL,
+ 0,
{
- {PWM_OUTPUT_ACTIVE_HIGH, NULL},
- {PWM_OUTPUT_ACTIVE_HIGH, NULL},
- {PWM_OUTPUT_ACTIVE_HIGH, NULL},
- {PWM_OUTPUT_ACTIVE_HIGH, NULL}
+ {PWM_OUTPUT_ACTIVE_HIGH, 0},
+ {PWM_OUTPUT_ACTIVE_HIGH, 0},
+ {PWM_OUTPUT_ACTIVE_HIGH, 0},
+ {PWM_OUTPUT_ACTIVE_HIGH, 0}
},
0
};
@@ -44,7 +44,7 @@ static const PWMConfig pwmcfg = {
* The slave select line is the pin 4 on the port GPIOA.
*/
static const SPIConfig spi1cfg_8bit = {
- NULL,
+ 0,
/* HW dependent part.*/
GPIOA,
4,
@@ -57,7 +57,7 @@ static const SPIConfig spi1cfg_8bit = {
* The slave select line is the pin 4 on the port GPIOA.
*/
static const SPIConfig spi1cfg_16bit = {
- NULL,
+ 0,
/* HW dependent part.*/
GPIOA,
4,