Unused functions in rp2040_usb_device_enumeration.c #884

Closed
opened 2022-06-29 07:43:35 -05:00 by bruelltuete · 1 comment
bruelltuete commented 2022-06-29 07:43:35 -05:00 (Migrated from github.com)

pico-sdk/src/rp2_common/pico_fix/rp2040_usb_device_enumeration/rp2040_usb_device_enumeration.c has a few functions that might not be used, depending on whether PICO_RP2040_B0_SUPPORTED or PICO_RP2040_B1_SUPPORTED is defined.
Compiling with -Wall will cause compiler warning noise.
(fix is simple, pr incoming...)

pico-sdk/src/rp2_common/pico_fix/rp2040_usb_device_enumeration/rp2040_usb_device_enumeration.c has a few functions that might not be used, depending on whether PICO_RP2040_B0_SUPPORTED or PICO_RP2040_B1_SUPPORTED is defined. Compiling with -Wall will cause compiler warning noise. (fix is simple, pr incoming...)
bruelltuete commented 2022-07-01 07:17:44 -05:00 (Migrated from github.com)
already fixed in the 1.4 release https://github.com/raspberrypi/pico-sdk/commit/5e9a5e827b3265fca53529883abdcc87608abad5#diff-951048032368a02e73f8de1405e0ec34db0224c33104ff3619ddc51dc2ccecd9
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk#884
No description provided.