Changed default value for the reset polarity parameter in the AVRISP-MKII project...
[pub/USBasp.git] / LUFA / Drivers / USB / LowLevel / Device.h
index a37e6d9..2f54d1d 100644 (file)
                        {
                                UDADDR  = ((UDADDR & (1 << ADDEN)) | (Address & 0x7F));
                                UDADDR |= (1 << ADDEN);
-                       }                       
+                       }
+
+                       static inline bool USB_Device_IsAddressSet(void) ATTR_ALWAYS_INLINE;
+                       static inline bool USB_Device_IsAddressSet(void)
+                       {
+                               return (UDADDR & (1 << ADDEN));
+                       }
        #endif
 
 #endif