Fixed indentations using astyle (#890)
This commit is contained in:
+1
-1
@@ -253,7 +253,7 @@ MyMessage& MyMessage::set(const char* value)
|
||||
MyMessage& MyMessage::set(const __FlashStringHelper* value)
|
||||
{
|
||||
uint8_t length = value == NULL ? 0
|
||||
: min(strlen_P(reinterpret_cast<const char *>(value)), (size_t)MAX_PAYLOAD);
|
||||
: min(strlen_P(reinterpret_cast<const char *>(value)), (size_t)MAX_PAYLOAD);
|
||||
miSetLength(length);
|
||||
miSetPayloadType(P_STRING);
|
||||
if (length) {
|
||||
|
||||
@@ -359,7 +359,8 @@ bool sendSketchInfo(const char *name, const char *version, const bool ack)
|
||||
}
|
||||
|
||||
#if !defined(__linux__)
|
||||
bool sendSketchInfo(const __FlashStringHelper *name, const __FlashStringHelper *version, const bool ack)
|
||||
bool sendSketchInfo(const __FlashStringHelper *name, const __FlashStringHelper *version,
|
||||
const bool ack)
|
||||
{
|
||||
bool result = true;
|
||||
if (name) {
|
||||
|
||||
@@ -146,7 +146,8 @@ bool present(const uint8_t sensorId, const uint8_t sensorType, const char *descr
|
||||
*/
|
||||
bool sendSketchInfo(const char *name, const char *version, const bool ack = false);
|
||||
#if !defined(__linux__)
|
||||
bool sendSketchInfo(const __FlashStringHelper *name, const __FlashStringHelper *version, const bool ack = false);
|
||||
bool sendSketchInfo(const __FlashStringHelper *name, const __FlashStringHelper *version,
|
||||
const bool ack = false);
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user