Skip to content

Commit

Permalink
Outline fluffy_read
Browse files Browse the repository at this point in the history
  • Loading branch information
fridgepoet committed Dec 5, 2023
1 parent 6eb1a8a commit 53f5b16
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion knit_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,13 @@ void fluffy_save(uint32_t count) {
flipper_format_free(fff_format);
}

uint32_t fluffy_read() {
return 5;
}

int32_t knit_counter_app(void) {
Counter* c = state_init();
c->count = fluffy_read();

while(1) {
InputEvent input;
Expand All @@ -125,7 +130,7 @@ int32_t knit_counter_app(void) {
}
}

fluffy_save(33);
fluffy_save(c->count);
state_free(c);
return 0;
}

0 comments on commit 53f5b16

Please sign in to comment.