board file compiler warning

ugfx_release_2.6
Joel Bodenmann 2014-08-21 18:33:07 +02:00
parent fbc9ce3a45
commit 7c791f2a92
1 changed files with 11 additions and 10 deletions

View File

@ -25,16 +25,17 @@
/* PWM configuration structure. We use timer 3 channel 3 */ /* PWM configuration structure. We use timer 3 channel 3 */
static const PWMConfig pwmcfg = { static const PWMConfig pwmcfg = {
100000, /* 100 kHz PWM clock frequency. */ 100000, /* 100 kHz PWM clock frequency. */
100, /* PWM period is 100 cycles. */ 100, /* PWM period is 100 cycles. */
0, 0,
{ {
{PWM_OUTPUT_DISABLED, 0}, {PWM_OUTPUT_DISABLED, 0},
{PWM_OUTPUT_DISABLED, 0}, {PWM_OUTPUT_DISABLED, 0},
{PWM_OUTPUT_ACTIVE_HIGH, 0}, {PWM_OUTPUT_ACTIVE_HIGH, 0},
{PWM_OUTPUT_DISABLED, 0} {PWM_OUTPUT_DISABLED, 0}
}, },
0 0,
0
}; };
static inline void init_board(GDisplay *g) { static inline void init_board(GDisplay *g) {