Merge pull request #131 from Dafeman/master

Pad Bluetooth passkey to 6 digits
This commit is contained in:
Kevin Hester 2020-05-09 10:13:29 -07:00 committed by GitHub
commit 42298abfad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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