Back to Adafruit TinyUSB Library v3.1.0 with full init ownership (no USE_TINYUSB=1 conflict)
This commit is contained in:
+3
-2
@@ -5,6 +5,7 @@
|
||||
#include <driver/gpio.h>
|
||||
#include <esp_rom_sys.h>
|
||||
#include "midi_transport.h"
|
||||
#include "Adafruit_TinyUSB.h"
|
||||
#include "pixel_stomp_mux.h"
|
||||
#include "led_stub.h"
|
||||
#include "switch_stub.h"
|
||||
@@ -83,8 +84,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", USB.mounted() ? "YES" : "NO");
|
||||
Serial.printf("[CMD] USB ready: %s\n", USB.ready() ? "YES" : "NO");
|
||||
Serial.printf("[CMD] USB mounted: %s\n", TinyUSBDevice.mounted() ? "YES" : "NO");
|
||||
Serial.printf("[CMD] USB ready: %s\n", TinyUSBDevice.ready() ? "YES" : "NO");
|
||||
} else if (cmd == "gpiotest") {
|
||||
Serial.println("[CMD] === Raw GPIO Test ===");
|
||||
uint8_t pins[] = {9, 10, 11, 12};
|
||||
|
||||
Reference in New Issue
Block a user