Fix reversed descriptions for the AVR8 USB pad regulator enable/disable masks (thanks to Omar).
This commit is contained in:
parent
04263de4f0
commit
2b0c9532a3
4 changed files with 6 additions and 4 deletions
|
@ -114,7 +114,7 @@ void USB_Device_ProcessControlRequest(void)
|
|||
|
||||
static void USB_Device_SetAddress(void)
|
||||
{
|
||||
uint8_t DeviceAddress = (USB_ControlRequest.wValue & 0x7F);
|
||||
uint8_t DeviceAddress = (USB_ControlRequest.wValue & 0x7F);
|
||||
uint_reg_t CurrentGlobalInt = GetGlobalInterruptMask();
|
||||
GlobalInterruptDisable();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue