mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
fix build error with stm32
This commit is contained in:
parent
4af16efea7
commit
2c1072c0ab
@ -97,6 +97,12 @@ void board_led_control(bool state)
|
|||||||
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_9, state);
|
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_9, state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uint32_t board_button_read(void)
|
||||||
|
{
|
||||||
|
// TODO implement
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------------------*/
|
/*------------------------------------------------------------------*/
|
||||||
/* TUSB HAL MILLISECOND
|
/* TUSB HAL MILLISECOND
|
||||||
*------------------------------------------------------------------*/
|
*------------------------------------------------------------------*/
|
||||||
|
@ -91,6 +91,12 @@ void board_led_control(bool state)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uint32_t board_button_read(void)
|
||||||
|
{
|
||||||
|
// TODO implement
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*------------------------------------------------------------------*/
|
/*------------------------------------------------------------------*/
|
||||||
/* TUSB HAL MILLISECOND
|
/* TUSB HAL MILLISECOND
|
||||||
|
Loading…
x
Reference in New Issue
Block a user