Doxygenize MyMessage / Message manipulation (#1035)

* Fix cppcheck issues

Fixes the following cppcheck issues:
examples/SecretKnockSensor/SecretKnockSensor.ino
305	variableScope	398	style
The scope of the variable 'timeDiff' can be reduced.

examples/SensebenderGatewaySerial/SensebenderGatewaySerial.ino
127	variableScope	398	style
The scope of the variable 'led_state' can be reduced.

* Doxygenize MyMessage / Message manipulation

This should replace the static documentation at
http://korturl.nu/stupid

I have enabled existing comments and added new comments where
necessary. Feedback on syntax and contents is welcome.
This commit is contained in:
Mikael Falkvidd
2018-01-30 20:47:11 +01:00
committed by Patrick Fallberg
parent eff1136733
commit 8fbdca4452
2 changed files with 179 additions and 39 deletions
-1
View File
@@ -76,7 +76,6 @@ const char* MyMessage::getString() const
}
}
// handles single character hex (0 - 15)
char MyMessage::i2h(uint8_t i) const
{
uint8_t k = i & 0x0F;