Undo tweak

This commit is contained in:
fauxpark 2023-10-14 05:42:23 +11:00
parent d65a78c5e5
commit 38c6ed75ac

View File

@ -15,17 +15,13 @@
*/ */
#include "report.h" #include "report.h"
#include "action_util.h"
#include "host.h" #include "host.h"
#include "keycode_config.h" #include "keycode_config.h"
#include "debug.h" #include "debug.h"
#include "util.h" #include "util.h"
#include <string.h> #include <string.h>
extern report_keyboard_t* keyboard_report;
#ifdef NKRO_ENABLE
extern report_nkro_t* nkro_report;
#endif
#ifdef RING_BUFFERED_6KRO_REPORT_ENABLE #ifdef RING_BUFFERED_6KRO_REPORT_ENABLE
# define RO_ADD(a, b) ((a + b) % KEYBOARD_REPORT_KEYS) # define RO_ADD(a, b) ((a + b) % KEYBOARD_REPORT_KEYS)
# define RO_SUB(a, b) ((a - b + KEYBOARD_REPORT_KEYS) % KEYBOARD_REPORT_KEYS) # define RO_SUB(a, b) ((a - b + KEYBOARD_REPORT_KEYS) % KEYBOARD_REPORT_KEYS)