1
0
mirror of https://github.com/raphnet/gc_n64_usb-v3 synced 2025-01-30 23:00:11 -05:00

error count should be init. to zero

This commit is contained in:
Raphael Assenat 2015-11-02 21:52:32 -05:00
parent 76b5f386ff
commit e033576104

2
main.c
View File

@ -270,7 +270,7 @@ int main(void)
gamepad_data pad_data;
unsigned char gamepad_vibrate = 0;
unsigned char state = STATE_WAIT_POLLTIME;
int error_count;
int error_count=0;
hwinit();
usart1_init();