diff --git a/src/KeyboardioFirmware.cpp b/src/KeyboardioFirmware.cpp index b72c2cdd..3fe8da1a 100644 --- a/src/KeyboardioFirmware.cpp +++ b/src/KeyboardioFirmware.cpp @@ -53,3 +53,5 @@ Keyboardio_::use(KeyboardioPlugin *plugin, ...) { }; va_end(ap); } + +Keyboardio_ Keyboardio; diff --git a/src/KeyboardioFirmware.h b/src/KeyboardioFirmware.h index bab6dd12..b6bc6654 100644 --- a/src/KeyboardioFirmware.h +++ b/src/KeyboardioFirmware.h @@ -43,4 +43,4 @@ class Keyboardio_ { void use(KeyboardioPlugin *plugin, ...) __attribute__((sentinel)); }; -static Keyboardio_ Keyboardio; +extern Keyboardio_ Keyboardio;