config
This commit is contained in:
@ -13,6 +13,7 @@
|
||||
#include "spi.h"
|
||||
#include "display.h"
|
||||
#include "eeprom.h"
|
||||
#include "config.h"
|
||||
|
||||
|
||||
int main() {
|
||||
@ -33,11 +34,16 @@ int main() {
|
||||
displayInit();
|
||||
myRandInit();
|
||||
canvasInit();
|
||||
|
||||
shapesInit();
|
||||
gameInit();
|
||||
buttonsInit();
|
||||
|
||||
if (isConfigMode()) {
|
||||
configInit();
|
||||
} else {
|
||||
shapesInit();
|
||||
gameInit();
|
||||
buttonsStart();
|
||||
}
|
||||
|
||||
__enable_interrupt();
|
||||
|
||||
while (1) {
|
||||
|
Reference in New Issue
Block a user