Vanity-Screen.
[hackover2013-badge-firmware.git] / badge / main.c
index 774649d..54371bc 100644 (file)
@@ -59,6 +59,7 @@
 #include "ui/font.h"
 #include "ui/menu.h"
 #include "ui/sprite.h"
+#include "ui/vanity.h"
 #include "util/util.h"
 #include "jumpnrun/jumpnrun.h"
 
@@ -228,6 +229,10 @@ int main(void)
     scrolltest();
   }
 
+  if(badge_input_raw() & BADGE_EVENT_KEY_LEFT) {
+    badge_vanity_show();
+  }
+
   jumpnrun_play();
   usbmode();
 
This page took 0.024186 seconds and 4 git commands to generate.