minor update for postman.
This commit is contained in:
parent
8c611871e6
commit
f360082c75
1 changed files with 1 additions and 1 deletions
|
|
@ -230,7 +230,7 @@ void receivedCallback(uint32_t from, String & msg) { // REQUIRED
|
|||
msg = msg.substring(0, POST_LENGTH); // (0) ~ (POST_LENGTH-1)
|
||||
// send whatever letter we postmans trust other postman.
|
||||
Wire.beginTransmission(I2C_ADDR);
|
||||
Wire.write(msg.c_str());
|
||||
Wire.write(msg.c_str(), POST_LENGTH);
|
||||
Wire.endTransmission();
|
||||
}
|
||||
void changedConnectionCallback() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue