Unified bool "return" type (set/get) to use "byte" (uint8_t)
This commit is contained in:
@@ -111,7 +111,7 @@ char* MyMessage::getString(char *buffer) const {
|
||||
}
|
||||
|
||||
bool MyMessage::getBool() const {
|
||||
return getInt();
|
||||
return getByte();
|
||||
}
|
||||
|
||||
uint8_t MyMessage::getByte() const {
|
||||
|
||||
Reference in New Issue
Block a user