split timer0 and timer2 initialization. Move timer2 init early

This commit is contained in:
Voinea Dragos 2021-01-31 17:18:32 +02:00
parent 20c3f4cb77
commit 698499f00d
4 changed files with 21 additions and 9 deletions

View file

@ -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();