From 6bb5f9d1ab662e1bb67fda9d44869aaf0b33f919 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Sat, 17 Jun 2023 21:43:41 +0800 Subject: [PATCH] Bluetooth: fix key name of `showDisconnected` --- src/modules/bluetooth/bluetooth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/bluetooth/bluetooth.c b/src/modules/bluetooth/bluetooth.c index cf78eef7d..744bc549b 100644 --- a/src/modules/bluetooth/bluetooth.c +++ b/src/modules/bluetooth/bluetooth.c @@ -111,7 +111,7 @@ void ffParseBluetoothJsonObject(FFinstance* instance, yyjson_val* module) if (ffJsonConfigParseModuleArgs(key, val, &options.moduleArgs)) continue; - if (strcasecmp(key, "showConnected") == 0) + if (strcasecmp(key, "showDisconnected") == 0) { options.showDisconnected = yyjson_get_bool(val); continue;