mirror of
https://github.com/travisgoodspeed/goodwatch
synced 2024-11-22 08:09:13 +00:00
Fixes bug where stopwatch would forget to draw on first pass.
This commit is contained in:
parent
058b93089e
commit
8e56257baa
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user