Skip to content

Commit

Permalink
Blink with team color
Browse files Browse the repository at this point in the history
  • Loading branch information
jamisonderek committed Aug 25, 2024
1 parent fb3160c commit 85539e0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions laser_tag_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,16 @@ void laser_tag_app_fire(LaserTagApp* app) {

notification_message(app->notifications, &sequence_short_beep);

notification_message(app->notifications, &sequence_blink_blue_100);
if(game_state_get_team(app->game_state) == TeamBlue) {
notification_message(app->notifications, &sequence_blink_blue_100);

FURI_LOG_I(TAG, "Notifying user with blink blue and short beep");
} else {
notification_message(app->notifications, &sequence_blink_red_100);

FURI_LOG_I(TAG, "Notifying user with blink red and short beep");
}

FURI_LOG_I(TAG, "Notifying user with blink blue and short beep");
app->need_redraw = true;
}

Expand Down

0 comments on commit 85539e0

Please sign in to comment.