mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 04:20:20 +00:00
stm32-sx1280: move hal_time_ms into port
This commit is contained in:
parent
d6dc6c86c3
commit
ff901757d6
@ -71,9 +71,6 @@ void btstack_port(void);
|
||||
|
||||
/* Private user code ---------------------------------------------------------*/
|
||||
/* USER CODE BEGIN 0 */
|
||||
uint32_t hal_time_ms(void){
|
||||
return HAL_GetTick();
|
||||
}
|
||||
|
||||
/* USER CODE END 0 */
|
||||
|
||||
|
@ -64,6 +64,12 @@ void btstack_assert_failed(const char * file, uint16_t line_nr){
|
||||
while (1);
|
||||
}
|
||||
|
||||
/** hal_time_ms.h */
|
||||
#include "hal_time_ms.h"
|
||||
uint32_t hal_time_ms(void){
|
||||
return HAL_GetTick();
|
||||
}
|
||||
|
||||
/** hal_cpu.h */
|
||||
|
||||
// TODO: implement
|
||||
|
Loading…
x
Reference in New Issue
Block a user