Trammell Hudson avatar Trammell Hudson committed 0367044

Disable time display in life and re-enable app

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();
 }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.