aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBCore.cpp
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2014-04-20 23:08:55 +0200
committerCristian Maglie <c.maglie@bug.st>2014-04-20 23:08:55 +0200
commitb9f95980c7412900722397298a93d1143ad31032 (patch)
tree8e0797d40eee8b4eb594cef35a60ca806675b358 /cores/arduino/USBCore.cpp
parent15d74b2530806c9ebef1160b534d7924490b00f7 (diff)
Fixed other trivial warnings in AVR USB core.
See #1877
Diffstat (limited to 'cores/arduino/USBCore.cpp')
-rw-r--r--cores/arduino/USBCore.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cores/arduino/USBCore.cpp b/cores/arduino/USBCore.cpp
index ad3d770..9eb7b33 100644
--- a/cores/arduino/USBCore.cpp
+++ b/cores/arduino/USBCore.cpp
@@ -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)