diff --git a/src/main.cpp b/src/main.cpp index 2a15c75..95ae309 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -83,8 +83,8 @@ void handle_serial_command(const String& cmd) { mux.show(); Serial.println("[CMD] Pixel 1 WHITE (max brightness)"); } else if (cmd == "usb") { - Serial.printf("[CMD] USB mounted: %s\n", TinyUSBDevice.mounted() ? "YES" : "NO"); - Serial.printf("[CMD] USB ready: %s\n", TinyUSBDevice.ready() ? "YES" : "NO"); + Serial.printf("[CMD] USB mounted: %s\n", USB.mounted() ? "YES" : "NO"); + Serial.printf("[CMD] USB ready: %s\n", USB.ready() ? "YES" : "NO"); } else if (cmd == "gpiotest") { Serial.println("[CMD] === Raw GPIO Test ==="); uint8_t pins[] = {9, 10, 11, 12};