Skip to content

Commit 726ee7d

Browse files
committed
Unified bool "return" type (set/get) to use "byte" (uint8_t)
1 parent dd48fab commit 726ee7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/MySensors/core/MyMessage.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ char* MyMessage::getString(char *buffer) const {
111111
}
112112

113113
bool MyMessage::getBool() const {
114-
return getInt();
114+
return getByte();
115115
}
116116

117117
uint8_t MyMessage::getByte() const {

0 commit comments

Comments
 (0)