summaryrefslogtreecommitdiff
path: root/hw/bsp/ea4357
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-03-23 22:31:07 +0700
committerhathach <[email protected]>2019-03-23 22:31:07 +0700
commit29e075b8b968806c4a9ebffdbdfacbd9b01cf029 (patch)
tree03941d6899d47015d850bba4152fb63f0c44048f /hw/bsp/ea4357
parentd866999bf0f41b0d3db0354c599d014c66dc6870 (diff)
clean up bsp, adde board_millis()
Diffstat (limited to 'hw/bsp/ea4357')
-rw-r--r--hw/bsp/ea4357/board_ea4357.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/hw/bsp/ea4357/board_ea4357.c b/hw/bsp/ea4357/board_ea4357.c
index 3bb846cc1..e5e93033d 100644
--- a/hw/bsp/ea4357/board_ea4357.c
+++ b/hw/bsp/ea4357/board_ea4357.c
@@ -24,14 +24,10 @@
* This file is part of the TinyUSB stack.
*/
-#ifdef BOARD_EA4357
-
#include "chip.h"
#include "../board.h"
#include "pca9532.h"
-#include "tusb_option.h"
-
#define BOARD_UART_PORT LPC_USART0
#define BOARD_UART_PIN_PORT 0x0f
#define BOARD_UART_PIN_TX 10 // PF.10 : UART0_TXD
@@ -74,7 +70,7 @@ uint32_t tusb_hal_millis(void)
return board_tick2ms(system_ticks);
}
-uint32_t board_noos_millis(void)
+uint32_t board_millis(void)
{
return system_ticks;
}
@@ -305,5 +301,3 @@ int board_uart_write(void const * buf, int len)
(void) len;
return 0;
}
-
-#endif