diff options
Diffstat (limited to 'payloads/libpayload/curses')
-rw-r--r-- | payloads/libpayload/curses/tinycurses.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/curses/tinycurses.c b/payloads/libpayload/curses/tinycurses.c index 6e0ab3cfdd..cb1d695933 100644 --- a/payloads/libpayload/curses/tinycurses.c +++ b/payloads/libpayload/curses/tinycurses.c @@ -191,7 +191,9 @@ NCURSES_CH_T _nc_render(WINDOW *win, NCURSES_CH_T ch) int beep(void) { /* TODO: Flash the screen if beeping fails? */ +#ifdef CONFIG_SPEAKER speaker_tone(1760, 500); /* 1760 == note A6 */ +#endif return OK; } // bool can_change_color(void) {} |