Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Update zeitraffer.c
Browse files Browse the repository at this point in the history
  • Loading branch information
theageoflove committed Nov 4, 2022
1 parent 52f574a commit f1a3ac0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions zeitraffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,21 @@
#include <gui/gui.h>
#include <input/input.h>
#include <notification/notification_messages.h>
#include <notification/notification_messages_notes.h>
//#include <notification/notification_messages_notes.h>

int Time = 10;
int Count = 10;
int WorkTime = 0;
int WorkCount = 0;
bool InfiniteShot = false;

const NotificationSequence sequence_click = {
&message_click,
&message_delay_100,
&message_sound_off,
NULL,
};

typedef enum {
EventTypeTick,
EventTypeInput,
Expand Down Expand Up @@ -173,7 +180,7 @@ int32_t zeitraffer_app(void* p) {

WorkCount--;
if (InfiniteShot) WorkCount++;
notification_message(notifications, message_display_backlight_on);
notification_message(notifications, &sequence_click);
WorkTime = Time;

}
Expand Down

0 comments on commit f1a3ac0

Please sign in to comment.