diff --git a/avr/usbload/timer.c b/avr/usbload/timer.c index 70c5820..41a12ef 100644 --- a/avr/usbload/timer.c +++ b/avr/usbload/timer.c @@ -17,8 +17,7 @@ //#define XTAL 11059201L // nominal value #define XTAL 20000000UL - -#define DEBOUNCE 500UL // debounce clock (256Hz = 4msec) +#define DEBOUNCE 256L // debounce clock (256Hz = 4msec) #define uint8_t unsigned char #define uint unsigned int