split timer0 and timer2 initialization. Move timer2 init early
This commit is contained in:
parent
20c3f4cb77
commit
698499f00d
4 changed files with 21 additions and 9 deletions
Firmware
|
@ -1013,6 +1013,8 @@ static void w25x20cl_err_msg()
|
|||
// are initialized by the main() routine provided by the Arduino framework.
|
||||
void setup()
|
||||
{
|
||||
timer2_init(); // enables functional millis
|
||||
|
||||
mmu_init();
|
||||
|
||||
ultralcd_init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue