Skip to content

Commit

Permalink
feat(controller): change busy color to magenta to adjust for color bl…
Browse files Browse the repository at this point in the history
…indness
  • Loading branch information
DASPRiD committed Oct 25, 2023
1 parent 26f336a commit dc58e59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static light, otherwise a blinking one.
### Static

- Green: Ready to read attendee tags
- Yellow: Processing tag
- Magenta: Processing tag
- Cyan: Config tag accepted
- Red: Config tag denied (malformed data)

Expand Down
4 changes: 2 additions & 2 deletions src/subsystems/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl Controller {
let uid = result?;

if config_uids.contains(&uid) {
self.led.send(LedState::On { color: YELLOW }).await?;
self.led.send(LedState::On { color: MAGENTA }).await?;

match self.process_config_command(uid, &mut config_uids, nfc.clone()).await {
Ok(shutdown) => {
Expand All @@ -108,7 +108,7 @@ impl Controller {
continue;
}

self.led.send(LedState::On { color: YELLOW }).await?;
self.led.send(LedState::On { color: MAGENTA }).await?;

let (done_tx, done_rx) = oneshot::channel();
self.audio_player.send(PlayerCommand::PlayBloop { done: done_tx }).await?;
Expand Down

0 comments on commit dc58e59

Please sign in to comment.