Skip to content

Commit 2c479c6

Browse files
committed
fix an build warning
1 parent 15014fb commit 2c479c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-tinyusb.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ static tusb_desc_device_t tinyusb_device_descriptor = {
140140
static uint32_t tinyusb_string_descriptor_len = 4;
141141
static char * tinyusb_string_descriptor[MAX_STRING_DESCRIPTORS] = {
142142
// array of pointer to string descriptors
143-
"\x09\x04", // 0: is supported language is English (0x0409)
143+
(char*) "\x09\x04", // 0: is supported language is English (0x0409)
144144
USB_DEVICE_MANUFACTURER,// 1: Manufacturer
145145
USB_DEVICE_PRODUCT, // 2: Product
146146
USB_DEVICE_SERIAL, // 3: Serials, should use chip ID

0 commit comments

Comments
 (0)