We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9986ccd commit 3ac0b00Copy full SHA for 3ac0b00
src/class/midi/midi_host.c
@@ -100,7 +100,7 @@ typedef struct
100
#define MAX_OUT_JACKS 8
101
struct {
102
uint8_t jack_id;
103
- int8_t jack_type;
+ uint8_t jack_type;
104
uint8_t string_index;
105
} in_jack_info[MAX_IN_JACKS];
106
uint8_t next_in_jack;
src/portable/raspberrypi/rp2040/hcd_rp2040.c
@@ -149,7 +149,7 @@ static void __tusb_irq_path_func(hw_handle_buff_status)(void)
149
// IEP3 IN is bit 6
150
// IEP3 OUT is bit 7
151
// etc
152
- for(int j = 0; j < 2; j++){
+ for(uint j = 0; j < 2; j++){
153
bit = 1 << (i*2+j);
154
if (remaining_buffers & bit)
155
{
0 commit comments