Prep for v1.2.0
[hackover2013-badge-firmware.git] / main.c
diff --git a/main.c b/main.c
index dbae27d..80c0e8e 100644 (file)
--- a/main.c
+++ b/main.c
@@ -43,9 +43,6 @@
 #include "core/gpio/gpio.h"
 #include "core/systick/systick.h"
 
-#include "drivers/lcd/tft/hw/ssd1351.h"
-#include "drivers/lcd/tft/drawing.h"
-
 #ifdef CFG_INTERFACE
   #include "core/cmd/cmd.h"
 #endif
@@ -64,9 +61,6 @@ int main(void)
   uint32_t currentSecond, lastSecond;
   currentSecond = lastSecond = 0;
   
-  lcdInit();
-  lcdTest();
-
   while (1)
   {
     // Toggle LED once per second
@@ -74,7 +68,7 @@ int main(void)
     if (currentSecond != lastSecond)
     {
       lastSecond = currentSecond;
-      gpioSetValue(CFG_LED_PORT, CFG_LED_PIN, ~(gpioGetValue(CFG_LED_PORT, CFG_LED_PIN)));
+      gpioSetValue(CFG_LED_PORT, CFG_LED_PIN, lastSecond % 2);
     }
 
     // Poll for CLI input if CFG_INTERFACE is enabled in projectconfig.h
This page took 0.024878 seconds and 4 git commands to generate.