This was triggering a limit in the AVR core IO table
Signed-off-by: Michel Pollet <buserror@gmail.com>
2 files changed:
printf( "\nDemo launching:\n");
int state = cpu_Running;
- while((state!= cpu_Done)&&(state != cpu_Crashed ))
+ while ((state != cpu_Done) && (state != cpu_Crashed))
state = avr_run(avr);
-
- printf("\n\nPress enter to terminate the program.");
- getchar();
}
avr_ioport_init(avr, &mcu->portg);
avr_ioport_init(avr, &mcu->porth);
avr_ioport_init(avr, &mcu->portj);
-// avr_ioport_init(avr, &mcu->portk);
+ avr_ioport_init(avr, &mcu->portk);
avr_ioport_init(avr, &mcu->portl);
avr_uart_init(avr, &mcu->uart0);