projects
/
hackover2013-badge-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added basic ANSI codes
[hackover2013-badge-firmware.git]
/
core
/
cmd
/
cmd.c
diff --git
a/core/cmd/cmd.c
b/core/cmd/cmd.c
index
36c55fc
..
2277f07
100644
(file)
--- 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--;
}
This page took
0.025496 seconds
and
4
git commands to generate.