Skip to content

Commit

Permalink
Terminal: implemented bell sound on CTRL-G
Browse files Browse the repository at this point in the history
  • Loading branch information
fdivitto committed Jan 26, 2021
1 parent 0f13a03 commit 94f95c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/terminal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2305,6 +2305,11 @@ void Terminal::execCtrlCode(uint8_t c)
// nothing to do
break;

// BELL
case ASCII_BEL:
sound('1', 800, 250, 100); // square wave, 800 Hz, 250ms, volume 100
break;

default:
break;
}
Expand Down

0 comments on commit 94f95c2

Please sign in to comment.