Skip to content

Commit fd56e62

Browse files
committed
Correct typos in comments and documentation
1 parent 6b42a95 commit fd56e62

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ float pi = 3.1459;
2525
Debug.print(DBG_VERBOSE, "i = %d, pi = %f", i, pi);
2626
```
2727

28-
If desired timestamps can be prefixed to the debug message. Timestamp output can be enabled and disabled via `timestampOn` and `timestampOff`.
28+
If desired, timestamps can be prefixed to the debug message. Timestamp output can be enabled and disabled via `timestampOn` and `timestampOff`.
2929

3030
# How-To-Use Advanced
3131
Normally all debug output is redirected to the primary serial output of each board (`Serial`). In case you want to redirect the output to another output stream you can make use of `setDebugOutputStream(&Serial2)`.

Diff for: examples/Arduino_Debug_Advance/Arduino_Debug_Advance.ino

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
/*
22
Advanced Debug can be helpful in embedded applications when
3-
there are more that two microcontrollers connected serially
3+
there are more than two microcontrollers connected serially
44
or a wireless sensor like XBee is connected to the serial port
5-
that will send data wirelessly to other XBee node.
5+
that will send data wirelessly to other XBee nodes.
66
7-
In boards like Arduino Nano, UNO, MEGA only one serial port is available,
8-
therefore additional Software Serial ports can be made using SoftwareSerial
7+
In boards like Arduino Nano, UNO, or MEGA only one serial port is available,
8+
therefore additional software serial ports can be made using the
9+
SoftwareSerial library.
910
*/
1011

1112
#include "Arduino_DebugUtils.h"

Diff for: src/Arduino_DebugUtils.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ bool Arduino_DebugUtils::shouldPrint(int const debug_level) const
120120
Arduino_DebugUtils Debug;
121121
void setDebugMessageLevel(int const debug_level) {
122122
Debug.setDebugLevel(debug_level);
123-
}
123+
}

Diff for: src/Arduino_DebugUtils.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ class Arduino_DebugUtils {
7878

7979
extern Arduino_DebugUtils Debug;
8080

81-
#endif /* ARDUINO_DEBUG_UTILS_H_ */
81+
#endif /* ARDUINO_DEBUG_UTILS_H_ */

0 commit comments

Comments
 (0)