File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
hardware/arduino/avr/cores/arduino Expand file tree Collapse file tree 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)
115115
116116
117117int _serialPeek = -1 ;
118- void Serial_::begin (unsigned long baud_count)
118+ void Serial_::begin (unsigned long /* baud_count */ )
119119{
120120}
121121
122- void Serial_::begin (unsigned long baud_count, byte config)
122+ void Serial_::begin (unsigned long /* baud_count */ , byte /* config */ )
123123{
124124}
125125
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ int WEAK HID_GetInterface(u8* interfaceNum)
151151 return USB_SendControl (TRANSFER_PGM,&_hidInterface,sizeof (_hidInterface));
152152}
153153
154- int WEAK HID_GetDescriptor (int i )
154+ int WEAK HID_GetDescriptor (int /* i */ )
155155{
156156 return USB_SendControl (TRANSFER_PGM,_hidReportDescriptor,sizeof (_hidReportDescriptor));
157157}
Original file line number Diff line number Diff line change @@ -94,7 +94,8 @@ volatile u8 _usbConfiguration = 0;
9494
9595static inline void WaitIN (void )
9696{
97- while (!(UEINTX & (1 <<TXINI)));
97+ while (!(UEINTX & (1 <<TXINI)))
98+ ;
9899}
99100
100101static inline void ClearIN (void )
You can’t perform that action at this time.
0 commit comments