X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/15e15a25d1f49a6be409006506359cab519545fe..1ab16aec62e20065faba56c469ddf75830860162:/core/cmd/cmd.c diff --git a/core/cmd/cmd.c b/core/cmd/cmd.c index 36c55fc..2277f07 100644 --- a/core/cmd/cmd.c +++ b/core/cmd/cmd.c @@ -139,7 +139,12 @@ void cmdRx(uint8_t c) #if CFG_INTERFACE_SILENTMODE == 0 printf("%c",c); #endif - if (msg_ptr > msg) + if (msg_ptr == msg) + { + // Send bell alert and space (to maintain position) + printf("\a "); + } + else if (msg_ptr > msg) { msg_ptr--; }