mirror of
https://github.com/tebl/RC6502-Apple-1-Replica.git
synced 2024-11-25 02:32:48 +00:00
Added brackets around each byte received in debug 5.
This commit is contained in:
parent
a738a248c7
commit
1907bbab21
@ -162,11 +162,13 @@ void serial_transmit() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
char send_ascii(char c) {
|
char send_ascii(char c) {
|
||||||
|
if (DEBUG >= 5) Serial.print("[");
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 0x0d: Serial.println(); /* Replace CR with LF */
|
case 0x0d: Serial.println(); /* Replace CR with LF */
|
||||||
default:
|
default:
|
||||||
Serial.print(c);
|
Serial.print(c);
|
||||||
}
|
}
|
||||||
|
if (DEBUG >= 5) Serial.print("]");
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
Loading…
Reference in New Issue
Block a user