Clean up some HAL code
This commit is contained in:
@ -94,8 +94,8 @@ uint8_t HAL_get_reset_source (void) {
|
||||
}
|
||||
|
||||
void _delay_ms(int delay_ms) {
|
||||
//todo: port for Due?
|
||||
delay (delay_ms);
|
||||
// todo: port for Due?
|
||||
delay(delay_ms);
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
|
@ -91,7 +91,6 @@ const tTimerConfig TimerConfig [NUM_HARDWARE_TIMERS] = {
|
||||
Timer_clock4: Prescaler 128 -> 656.25kHz
|
||||
*/
|
||||
|
||||
|
||||
void HAL_timer_start(const uint8_t timer_num, const uint32_t frequency) {
|
||||
Tc *tc = TimerConfig[timer_num].pTimerRegs;
|
||||
IRQn_Type irq = TimerConfig[timer_num].IRQ_Id;
|
||||
|
@ -431,5 +431,4 @@ pins
|
||||
#define DIO100_PIN 11
|
||||
#define DIO100_WPORT PIOC
|
||||
|
||||
|
||||
#endif // _FASTIO_DUE_H
|
||||
|
Reference in New Issue
Block a user