From 8e56257baaa1efc9b0d1e966047a61035506ba8f Mon Sep 17 00:00:00 2001 From: Travis Goodspeed Date: Fri, 3 Aug 2018 17:48:34 -0400 Subject: [PATCH] Fixes bug where stopwatch would forget to draw on first pass. --- firmware/apps/stopwatch.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/firmware/apps/stopwatch.c b/firmware/apps/stopwatch.c index b31cab4..d92f494 100644 --- a/firmware/apps/stopwatch.c +++ b/firmware/apps/stopwatch.c @@ -14,7 +14,7 @@ */ #include "api.h" - +#include "stopwatch.h" static int counting=0; @@ -40,6 +40,9 @@ void stopwatch_init(){ //Draw these once, rather than every frame. lcd_cleardigit(5); //Space lcd_cleardigit(2); //Space + + //Force a draw on startup. + stopwatch_draw(1); } //! Exit form the stopwatch app.