Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
b912c9e4
Commit
b912c9e4
authored
Apr 18, 2021
by
Eric Duminil
Browse files
Doc
parent
39fe4d11
Pipeline
#2823
passed with stage
in 2 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/sensor_commands.cpp
View file @
b912c9e4
...
...
@@ -77,7 +77,10 @@ namespace sensor_commands {
return
code
;
}
// http://www.gammon.com.au/serial
/*
* Saves bytes from Serial.read() until enter is pressed, and tries to run the corresponding command.
* http://www.gammon.com.au/serial
*/
void
processIncomingByte
(
const
byte
input_byte
)
{
static
char
input_line
[
MAX_COMMAND_SIZE
];
static
unsigned
int
input_pos
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment