Improved reliability of USB config interface (port from V5 branch)
[SCSI2SD-V6.git] / include / hidpacket.h
index 384956f8e19cdbf1e57097218f1e09fbc696c400..21592b4828e048e15b028ce59661fe2769ea5fea 100644 (file)
@@ -54,6 +54,11 @@ void hidPacket_send(const uint8_t* bytes, size_t len);
 // NULL if there's nothing to send.
 const uint8_t* hidPacket_getHIDBytes(uint8_t* hidBuffer);
 
+// Returns 1 if hidPacket_getHIDBytes will return non-null
+int hidPacket_getHIDBytesReady();
+
+void hidPacket_reset();
+
 #ifdef __cplusplus
 } // extern "C"
 #endif