Skip to content

Commit 8ec79c5

Browse files
committed
Add missing display overwrite
1 parent 6a48d50 commit 8ec79c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: libraries/WiFiProv/src/WiFiProv.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ void WiFiProvClass::printQR(const char *name, const char *pop, const char *trans
259259
}
260260
#if __has_include("qrcode.h")
261261
esp_qrcode_config_t cfg = ESP_QRCODE_CONFIG_DEFAULT();
262+
cfg.display_func = _qrcode_print_console;
262263
out.printf("Scan this QR code from the provisioning application for Provisioning.\n");
263264
qr_out = &out;
264265
esp_qrcode_generate(&cfg, payload);

0 commit comments

Comments
 (0)