board file compiler warning
This commit is contained in:
parent
fbc9ce3a45
commit
7c791f2a92
1 changed files with 11 additions and 10 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue