X-Git-Url: https://the.earth.li/gitweb/?p=temper-clone.git;a=blobdiff_plain;f=main.c;fp=main.c;h=61064a084cbcc45ddf358d7437676c26a2db0155;hp=0adfed8cc246c636c0180b32bffe295d9fdc20ca;hb=b45ff61935c58083c18d718c410604489080af76;hpb=97e6ede6c1e3556ec66f11ad66c6ba7c36885423 diff --git a/main.c b/main.c index 0adfed8..61064a0 100644 --- a/main.c +++ b/main.c @@ -358,6 +358,13 @@ usbMsgLen_t usbFunctionWrite(uint8_t * data, uchar len) return 0; } +void hadUsbReset(void) +{ + /* Reset our state machine back to having nothing to send */ + temp_state = 0; + have_temp_int = false; +} + int main(void) { unsigned char i;