Skip to content

Commit c9f3108

Browse files
committed
(fix) Correct order of library version display in device portal response
1 parent ef19fa8 commit c9f3108

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ksf/comp/ksDevicePortal.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,13 +335,13 @@ namespace ksf::comps
335335
response += PSTR("[{\"name\":\"MCU chip\",\"value\":\"");
336336
response += PSTR(HARDWARE " (");
337337
response += ksf::to_string(ESP.getCpuFreqMHz());
338-
response += PSTR(" MHz)\"},{\"name\":\"Library version\",\"value\":\"");
339-
response += PSTR(KSF_LIBRARY_VERSION);
340-
response += PSTR("\"},{\"name\":\"Flash chip\",\"value\":\"Vendor ID: ");
338+
response += PSTR(" MHz)\"},{\"name\":\"Flash chip\",\"value\":\"Vendor ID: ");
341339
response += ksf::to_string(ESP_getFlashVendor());
342340
response += PSTR(", size: ");
343341
response += ksf::to_string(ESP_getFlashSizeKB());
344-
response += PSTR(" KB \"},{\"name\":\"Hostname\",\"value\":\"");
342+
response += PSTR(" KB \"},{\"name\":\"Library version\",\"value\":\"");
343+
response += PSTR(KSF_LIBRARY_VERSION);
344+
response += PSTR("\"},{\"name\":\"Hostname\",\"value\":\"");
345345
response += WiFi.getHostname();
346346
response += PSTR("\"},{\"name\":\"Free heap\",\"value\":\"");
347347
response += ksf::to_string(ESP.getFreeHeap());

0 commit comments

Comments
 (0)