Skip to content

Commit

Permalink
fix 'LoadProhibited' in dumpdevice (#555)
Browse files Browse the repository at this point in the history
booleans can not interpreted as null terminated strings
  • Loading branch information
Floyddotnet authored Feb 20, 2020
1 parent 8842ea1 commit 0681d09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main/ZgatewayBT.ino
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ void dumpDevices()
for (vector<BLEdevice>::iterator p = devices.begin(); p != devices.end(); ++p)
{
Log.trace(F("macAdr %s" CR),p->macAdr);
Log.trace(F("isDisc %s" CR),p->isDisc);
Log.trace(F("isWhtL %s" CR),p->isWhtL);
Log.trace(F("isBlkL %s" CR),p->isBlkL);
Log.trace(F("isDisc %d" CR),p->isDisc);
Log.trace(F("isWhtL %d" CR),p->isWhtL);
Log.trace(F("isBlkL %d" CR),p->isBlkL);
}
}

Expand Down

0 comments on commit 0681d09

Please sign in to comment.