diff --git a/layout.scm b/layout.scm index 9b62313..5de6f89 100644 --- a/layout.scm +++ b/layout.scm @@ -11,8 +11,7 @@ (define (set-layer n) (lambda () (set! current-layer (vector-ref layers n)))) -(define (reset) - #f) ;; TODO: uh, seriously. I need this. how. +(define (reset) (call-c-func "reset")) ;;;; layers diff --git a/usb_keyboard.c b/usb_keyboard.c index 3fbe4a6..9dd50ca 100644 --- a/usb_keyboard.c +++ b/usb_keyboard.c @@ -601,3 +601,14 @@ ISR(USB_COM_vect) } UECONX = (1< +// #include +void reset(void); + // This file does not include the HID debug functions, so these empty // macros replace them with nothing, so users can compile code that // has calls to these functions.