mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-15 12:29:26 +01:00
parent
3d795c374b
commit
f864cdcff2
@ -115,11 +115,11 @@ bool WEAK CDC_Setup(Setup& setup)
|
||||
|
||||
|
||||
int _serialPeek = -1;
|
||||
void Serial_::begin(unsigned long baud_count)
|
||||
void Serial_::begin(unsigned long /* baud_count */)
|
||||
{
|
||||
}
|
||||
|
||||
void Serial_::begin(unsigned long baud_count, byte config)
|
||||
void Serial_::begin(unsigned long /* baud_count */, byte /* config */)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -151,7 +151,7 @@ int WEAK HID_GetInterface(u8* interfaceNum)
|
||||
return USB_SendControl(TRANSFER_PGM,&_hidInterface,sizeof(_hidInterface));
|
||||
}
|
||||
|
||||
int WEAK HID_GetDescriptor(int i)
|
||||
int WEAK HID_GetDescriptor(int /* i */)
|
||||
{
|
||||
return USB_SendControl(TRANSFER_PGM,_hidReportDescriptor,sizeof(_hidReportDescriptor));
|
||||
}
|
||||
|
@ -94,7 +94,8 @@ volatile u8 _usbConfiguration = 0;
|
||||
|
||||
static inline void WaitIN(void)
|
||||
{
|
||||
while (!(UEINTX & (1<<TXINI)));
|
||||
while (!(UEINTX & (1<<TXINI)))
|
||||
;
|
||||
}
|
||||
|
||||
static inline void ClearIN(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user