Skip to content

Commit 068c5a8

Browse files
committed
main: Fix 'N' clear new notification flag documentation
The documentation for the 'N' key wrongly stated it clears all notifications. But in the code we see that just the new notification flag is reset.
1 parent 5f1dc19 commit 068c5a8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Using the keyboard the following events can be triggered:
9696
- `m` ... let motor run for 100 ms
9797
- `M` ... let motor run for 255 ms
9898
- `n` ... send notification
99-
- `N` ... clear all notifications
99+
- `N` ... clear new notification flag
100100
- `b` ... connect Bluetooth
101101
- `B` ... disconnect Bluetooth
102102
- `v` ... increase battery voltage and percentage

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ class Framework {
773773
private:
774774
bool key_handled_r = false; // r ... enable ringing, R ... disable ringing
775775
bool key_handled_m = false; // m ... let motor run, M ... stop motor
776-
bool key_handled_n = false; // n ... send notification, N ... clear all notifications
776+
bool key_handled_n = false; // n ... send notification, N ... clear new notification flag
777777
bool key_handled_b = false; // b ... connect Bluetooth, B ... disconnect Bluetooth
778778
bool key_handled_v = false; // battery Voltage and percentage, v ... increase, V ... decrease
779779
bool key_handled_c = false; // c ... charging, C ... not charging

0 commit comments

Comments
 (0)