Skip to content

Commit 1413dcd

Browse files
authored
feat: Unit-test static interface methods (#60)
* feat: Coverage for NoteI2c static methods * feat: Coverage for NoteLog static methods * feat: Coverage for NoteSerial static methods
1 parent 1e7fe87 commit 1413dcd

8 files changed

+1475
-11
lines changed

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Blues Wireless Notecard
2-
version=1.3.6
2+
version=1.3.7
33
author=Blues Wireless
44
maintainer=Blues Wireless <[email protected]>
55
sentence=An easy to use Notecard Library for Arduino.

src/NoteSerial_Arduino.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class NoteSerial_Arduino final : public NoteSerial
2020

2121
private:
2222
HardwareSerial & _notecardSerial;
23-
int _notecardSerialSpeed;
23+
const int _notecardSerialSpeed;
2424
};
2525

2626
#endif // NOTE_SERIAL_ARDUINO_HPP

src/Notecard.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ namespace
9494

9595
NoteLog *noteLog(nullptr);
9696

97-
size_t noteLogPrint(const char * str_)
97+
size_t noteLogPrint(const char * message_)
9898
{
9999
size_t result;
100100
if (noteLog)
101101
{
102-
result = noteLog->print(str_);
102+
result = noteLog->print(message_);
103103
}
104104
else
105105
{

0 commit comments

Comments
 (0)