Pad Bluetooth passkey to 6 digits

This commit is contained in:
Dafeman
2020-05-09 23:09:36 +12:00
committed by GitHub
parent f1b840dede
commit c4a1fe0f36

View File

@@ -184,7 +184,7 @@ class MySecurity : public BLESecurityCallbacks
void onPassKeyNotify(uint32_t pass_key)
{
Serial.printf("onPassKeyNotify %u\n", pass_key);
Serial.printf("onPassKeyNotify %06u\n", pass_key);
startCb(pass_key);
}