Merge pull request #130 from algernon/f/wdt-to-hardware

Move the WDT calls to the hardware plugins
pull/132/head
Jesse Vincent 7 years ago committed by GitHub
commit 0fae7952b6

@ -9,12 +9,8 @@ Kaleidoscope_::Kaleidoscope_(void) {
void
Kaleidoscope_::setup(void) {
#ifdef __AVR__
wdt_disable();
#endif
delay(100);
Keyboard.begin();
KeyboardHardware.setup();
Keyboard.begin();
// A workaround, so that the compiler does not optimize this out...
handle_keyswitch_event (Key_NoKey, 255, 255, 0);

@ -18,9 +18,6 @@ void setup();
#include <stdio.h>
#include <math.h>
#ifdef __AVR__
#include <avr/wdt.h>
#endif
#include KALEIDOSCOPE_HARDWARE_H
#include "key_events.h"

Loading…
Cancel
Save