diff options
author | Joel Bodenmann <joel@unormal.org> | 2014-08-21 18:33:07 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2014-08-21 18:33:07 +0200 |
commit | 7c791f2a9204f892e141d03163c9bcb36b335b41 (patch) | |
tree | 6b4b130a39c7e35e49296cd3f2a994cd5d6880ff | |
parent | fbc9ce3a451e90cdc04ceb22765762fa22979578 (diff) | |
download | uGFX-7c791f2a9204f892e141d03163c9bcb36b335b41.tar.gz uGFX-7c791f2a9204f892e141d03163c9bcb36b335b41.tar.bz2 uGFX-7c791f2a9204f892e141d03163c9bcb36b335b41.zip |
board file compiler warning
-rw-r--r-- | boards/addons/gdisp/board_SSD1289_stm32f4discovery.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/boards/addons/gdisp/board_SSD1289_stm32f4discovery.h b/boards/addons/gdisp/board_SSD1289_stm32f4discovery.h index acbe16c0..6198b73a 100644 --- a/boards/addons/gdisp/board_SSD1289_stm32f4discovery.h +++ b/boards/addons/gdisp/board_SSD1289_stm32f4discovery.h @@ -25,16 +25,17 @@ /* PWM configuration structure. We use timer 3 channel 3 */ static const PWMConfig pwmcfg = { - 100000, /* 100 kHz PWM clock frequency. */ - 100, /* PWM period is 100 cycles. */ - 0, - { - {PWM_OUTPUT_DISABLED, 0}, - {PWM_OUTPUT_DISABLED, 0}, - {PWM_OUTPUT_ACTIVE_HIGH, 0}, - {PWM_OUTPUT_DISABLED, 0} - }, - 0 + 100000, /* 100 kHz PWM clock frequency. */ + 100, /* PWM period is 100 cycles. */ + 0, + { + {PWM_OUTPUT_DISABLED, 0}, + {PWM_OUTPUT_DISABLED, 0}, + {PWM_OUTPUT_ACTIVE_HIGH, 0}, + {PWM_OUTPUT_DISABLED, 0} + }, + 0, + 0 }; static inline void init_board(GDisplay *g) { |