キーボードの長押しに対応。
Fork of USBDevice by
Diff: USBDevice/USBHAL_RZ_A1H.cpp
- Revision:
- 42:4f589e246b9e
- Parent:
- 40:3b1c43ac045c
- Child:
- 46:378357d7e90d
--- a/USBDevice/USBHAL_RZ_A1H.cpp Mon Feb 09 09:15:46 2015 +0000 +++ b/USBDevice/USBHAL_RZ_A1H.cpp Fri Feb 27 10:00:59 2015 +0000 @@ -515,10 +515,10 @@ if (RZA_IO_RegRead_16( &g_usb0_function_pipecfg[pipe], USB_PIPECFG_DIR_SHIFT, USB_PIPECFG_DIR) == 0) { /* read */ - __nop(); + __NOP(); } else { /* write */ - __nop(); + __NOP(); } } } @@ -629,7 +629,7 @@ if (RZA_IO_RegRead_16( &g_usb0_function_pipecfg[pipe], USB_PIPECFG_DIR_SHIFT, USB_PIPECFG_DIR) == 0) { /* read */ - __nop(); + __NOP(); } else { /* write */ EPx_read_status = DEVDRV_USBF_PIPE_WAIT;