diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-12-21 13:21:59 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-12-21 13:21:59 +1000 |
commit | d9f02858fdc04c4404834a033850f758e4c8ee7e (patch) | |
tree | 2d7b4759cabf76eba5b7ef2147e58d3c9d7f885b /boards/base/Mikromedia-STM32-M4-ILI9341 | |
parent | 018a930d5525ffefc30fb2514752918455853685 (diff) | |
download | uGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.tar.gz uGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.tar.bz2 uGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.zip |
Replace NULL's with 0 as NULL is not defined by the Raw32 GOS.
Diffstat (limited to 'boards/base/Mikromedia-STM32-M4-ILI9341')
-rw-r--r-- | boards/base/Mikromedia-STM32-M4-ILI9341/ChibiOS_Board/flash_memory.c | 2 | ||||
-rw-r--r-- | boards/base/Mikromedia-STM32-M4-ILI9341/ginput_lld_mouse_board.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/boards/base/Mikromedia-STM32-M4-ILI9341/ChibiOS_Board/flash_memory.c b/boards/base/Mikromedia-STM32-M4-ILI9341/ChibiOS_Board/flash_memory.c index a27a3db5..ccd3ab9f 100644 --- a/boards/base/Mikromedia-STM32-M4-ILI9341/ChibiOS_Board/flash_memory.c +++ b/boards/base/Mikromedia-STM32-M4-ILI9341/ChibiOS_Board/flash_memory.c @@ -12,7 +12,7 @@ static const unsigned short _SERIAL_FLASH_CMD_WRSR = 0x01; static const unsigned short _SERIAL_FLASH_CMD_SER = 0xD8; //25P80 static const SPIConfig flash_spicfg = { - NULL, + 0, GPIOD, GPIOD_FLASH_CS, 0 diff --git a/boards/base/Mikromedia-STM32-M4-ILI9341/ginput_lld_mouse_board.h b/boards/base/Mikromedia-STM32-M4-ILI9341/ginput_lld_mouse_board.h index 9c659e66..7e9948a5 100644 --- a/boards/base/Mikromedia-STM32-M4-ILI9341/ginput_lld_mouse_board.h +++ b/boards/base/Mikromedia-STM32-M4-ILI9341/ginput_lld_mouse_board.h @@ -19,8 +19,8 @@ static const ADCConversionGroup adcgrpcfg = { FALSE, ADC_NUM_CHANNELS, - NULL, - NULL, + 0, + 0, /* HW dependent part.*/ 0, ADC_CR2_SWSTART, @@ -37,7 +37,7 @@ static const ADCConversionGroup adcgrpcfg = { * @notapi */ static inline void init_board(void) { - adcStart(&ADCD1, NULL); + adcStart(&ADCD1, 0); } /** |