File tree 3 files changed +5
-4
lines changed
hardware/arduino/avr/cores/arduino
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -115,11 +115,11 @@ bool WEAK CDC_Setup(Setup& setup)
115
115
116
116
117
117
int _serialPeek = -1 ;
118
- void Serial_::begin (unsigned long baud_count)
118
+ void Serial_::begin (unsigned long /* baud_count */ )
119
119
{
120
120
}
121
121
122
- void Serial_::begin (unsigned long baud_count, byte config)
122
+ void Serial_::begin (unsigned long /* baud_count */ , byte /* config */ )
123
123
{
124
124
}
125
125
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ int WEAK HID_GetInterface(u8* interfaceNum)
151
151
return USB_SendControl (TRANSFER_PGM,&_hidInterface,sizeof (_hidInterface));
152
152
}
153
153
154
- int WEAK HID_GetDescriptor (int i )
154
+ int WEAK HID_GetDescriptor (int /* i */ )
155
155
{
156
156
return USB_SendControl (TRANSFER_PGM,_hidReportDescriptor,sizeof (_hidReportDescriptor));
157
157
}
Original file line number Diff line number Diff line change @@ -94,7 +94,8 @@ volatile u8 _usbConfiguration = 0;
94
94
95
95
static inline void WaitIN (void )
96
96
{
97
- while (!(UEINTX & (1 <<TXINI)));
97
+ while (!(UEINTX & (1 <<TXINI)))
98
+ ;
98
99
}
99
100
100
101
static inline void ClearIN (void )
You can’t perform that action at this time.
0 commit comments