Skip to content

Commit

Permalink
Backport spellings used in the docs version
Browse files Browse the repository at this point in the history
  • Loading branch information
WillB97 committed Aug 31, 2024
1 parent ed03aa2 commit 440cf13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/src.ino
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void command_read() {
}
}

void command_analogue_read() {
void command_analog_read() {
int pin = read_pin();
int value = analogRead(pin);
Serial.print(value);
Expand Down Expand Up @@ -85,7 +85,7 @@ void loop() {
// Do something different based on what we got:
switch (selected_command) {
case 'a':
command_analogue_read();
command_analog_read();
break;
case 'r':
command_read();
Expand Down

0 comments on commit 440cf13

Please sign in to comment.