summaryrefslogtreecommitdiff
path: root/users/drashna/split
diff options
context:
space:
mode:
Diffstat (limited to 'users/drashna/split')
-rw-r--r--users/drashna/split/split_config.h12
-rw-r--r--users/drashna/split/transport_sync.c2
-rw-r--r--users/drashna/split/transport_sync.h2
3 files changed, 6 insertions, 10 deletions
diff --git a/users/drashna/split/split_config.h b/users/drashna/split/split_config.h
index 21ff3829bb..17daa4f808 100644
--- a/users/drashna/split/split_config.h
+++ b/users/drashna/split/split_config.h
@@ -3,17 +3,13 @@
#pragma once
-// # define SPLIT_TRANSPORT_MIRROR
+#define SPLIT_TRANSPORT_MIRROR
#define SPLIT_LAYER_STATE_ENABLE
#define SPLIT_LED_STATE_ENABLE
#define SPLIT_MODS_ENABLE
-#ifndef POINTING_DEVICE_ENABLE
-# define SPLIT_WATCHDOG_ENABLE
-#endif
-#ifdef WPM_ENABLE
-# define SPLIT_WPM_ENABLE
-#endif
-#ifdef OLED_ENABLE
+#define SPLIT_WATCHDOG_ENABLE
+#define SPLIT_WPM_ENABLE
+#ifdef SPLIT_OLED_ENABLE
# undef SPLIT_OLED_ENABLE
#endif
#if defined(__AVR__) && !defined(SELECT_SOFT_SERIAL_SPEED)
diff --git a/users/drashna/split/transport_sync.c b/users/drashna/split/transport_sync.c
index 0284627ed2..bd6f7c5688 100644
--- a/users/drashna/split/transport_sync.c
+++ b/users/drashna/split/transport_sync.c
@@ -52,7 +52,7 @@ void user_config_sync(uint8_t initiator2target_buffer_size, const void* initiato
#ifdef CUSTOM_OLED_DRIVER
# include "oled/oled_stuff.h"
void keylogger_string_sync(uint8_t initiator2target_buffer_size, const void* initiator2target_buffer, uint8_t target2initiator_buffer_size, void* target2initiator_buffer) {
- if (initiator2target_buffer_size == OLED_KEYLOGGER_LENGTH) {
+ if (initiator2target_buffer_size == (OLED_KEYLOGGER_LENGTH)) {
memcpy(&keylog_str, initiator2target_buffer, initiator2target_buffer_size);
}
}
diff --git a/users/drashna/split/transport_sync.h b/users/drashna/split/transport_sync.h
index 8bfb49bf63..e27e598f83 100644
--- a/users/drashna/split/transport_sync.h
+++ b/users/drashna/split/transport_sync.h
@@ -6,7 +6,7 @@
#include "drashna.h"
#ifdef OLED_ENABLE
# include "oled/oled_stuff.h"
-extern char keylog_str[OLED_KEYLOGGER_LENGTH];
+extern char keylog_str[];
#endif
typedef union {