diff options
author | Ryan <[email protected]> | 2023-10-14 22:21:20 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-10-14 13:21:20 +0200 |
commit | 1bff37781bda1d0c285aa5aa7102d6941ad64e7d (patch) | |
tree | 6348d64c7d7bba987e8bb386768fde33f33ace18 /quantum | |
parent | 1da7c8c8d0c70c9f614ce898ee3380db0f04fa27 (diff) | |
download | qmk_firmware-1bff37781bda1d0c285aa5aa7102d6941ad64e7d.tar.gz qmk_firmware-1bff37781bda1d0c285aa5aa7102d6941ad64e7d.zip |
Prep work for NKRO report separation (#22268)
* Clean up some keyboard/userspace code
* Rename `KEYBOARD_REPORT_BITS` -> `NKRO_REPORT_BITS`
* Add some missing includes
* Use `PACKED` define for report types
* Fix incorrect function signatures for FlexRAM EEPROM driver
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/eeconfig.h | 1 | ||||
-rw-r--r-- | quantum/quantum.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/quantum/eeconfig.h b/quantum/eeconfig.h index 34d85cb91e..d7cce166bd 100644 --- a/quantum/eeconfig.h +++ b/quantum/eeconfig.h @@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include <stdint.h> #include <stdbool.h> +#include "eeprom.h" #ifndef EECONFIG_MAGIC_NUMBER # define EECONFIG_MAGIC_NUMBER (uint16_t)0xFEE6 // When changing, decrement this value to avoid future re-init issues diff --git a/quantum/quantum.h b/quantum/quantum.h index 66e4569991..e41542e4af 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h @@ -56,6 +56,8 @@ #include "suspend.h" #include <stddef.h> #include <stdlib.h> +#include <stdio.h> +#include <string.h> #ifdef DEFERRED_EXEC_ENABLE # include "deferred_exec.h" |