]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Output/pjrcUSB/output_com.h
Major USB update, fixes most (if not all) known issues
[kiibohd-controller.git] / Output / pjrcUSB / output_com.h
index 700894313a7b8ebef480be7ec321438c936232e0..1dc0ac20832b594f7b1020aeeaecea4c51d6d64d 100644 (file)
@@ -99,6 +99,10 @@ extern          uint8_t  Output_DebugMode; // 0 - Debug disabled, 1 - Debug enab
 
 extern          uint16_t Output_ExtCurrent_Available; // mA - Set by outside module if not using USB (i.e. Interconnect)
 
+extern volatile uint32_t USBInit_TimeStart; // Timetamp when usb_init was triggered
+extern volatile uint32_t USBInit_TimeEnd;   // Timetamp since last call to the Configuration endpoint
+extern volatile uint16_t USBInit_Ticks;     // Number of times the end time has been updated
+
 
 
 // ----- Functions -----