Sfoglia il codice sorgente

Added "EECONFIG_HANDEDNESS" to the eeconfig.h , because when RGB was enabled it was overwritting the old EECONFIG_HANDEDNESS address (10), so it is now on a non-conflicting addres (14).

Updated MiniDox split_util.h and eeprom files to reflect this change.

I recommend adding this to any split board that used these files, my changes will not effect them currently.
That-Canadian 7 anni fa
parent
commit
26650731d1

BIN
keyboards/minidox/eeprom-lefthand.eep


BIN
keyboards/minidox/eeprom-righthand.eep


+ 1 - 5
keyboards/minidox/split_util.h

@@ -2,11 +2,7 @@
 #define SPLIT_KEYBOARD_UTIL_H
 
 #include <stdbool.h>
-
-#ifdef EE_HANDS
-	#define EECONFIG_BOOTMAGIC_END      (uint8_t *)10
-	#define EECONFIG_HANDEDNESS         EECONFIG_BOOTMAGIC_END
-#endif
+#include "eeconfig.h"
 
 #define SLAVE_I2C_ADDRESS           0x32
 

+ 2 - 0
tmk_core/common/eeconfig.h

@@ -35,6 +35,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define EECONFIG_RGBLIGHT                           (uint32_t *)8
 #define EECONFIG_UNICODEMODE                        (uint8_t *)12
 #define EECONFIG_STENOMODE                          (uint8_t *)13
+// EEHANDS for two handed boards
+#define EECONFIG_HANDEDNESS         				(uint8_t *)14
 
 
 /* debug bit */