Commits

Trammell Hudson  committed 0367044

Disable time display in life and re-enable app

  • Participants
  • Parent commits b2d124d

Comments (0)

Files changed (2)

 	&swarm_app,
 	&stars_app,
 	//&qr_app,
-	//&life_app,
+	&life_app,
 	//&plaid_app,
 };
 
 	uint8_t last_sec;
 	uint16_t iter;
 
+#ifdef CONFIG_TIME
 	// Our time display
 	char time_text_buffer[sizeof("HH:MM:SS")];
 	struct PWTextBox time_text_box;
 	struct PWidgetTextDynamic time_text_widget;
+#endif
 } __attribute__((packed));
 
 
 		return;
 	DATA->last_sec = now->tm_sec;
 
+#ifdef CONFIG_TIME
 	pulse_set_draw_window(0, 100, 95, 127);
 
 	for(int i=0; i<2688; i++)
 	);
 
 	pulse_render_text(&DATA->time_text_box, &DATA->time_text_widget);
+#endif
 }
 
 
 
 	DATA->last_sec = 99;
 
+#ifdef CONFIG_TIME
 	DATA->time_text_box = (struct PWTextBox) {
 		.top		= 100,
 		.bottom		= SCREEN_HEIGHT - 1,
 	);
 
 	memset(DATA->time_text_buffer, 0, sizeof(DATA->time_text_buffer));
+#endif
 
 	grid_randomize();
 }