aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c')
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c b/keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c
index dbacb1685c..cfe97d6318 100644
--- a/keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c
+++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c
@@ -16,41 +16,6 @@
#include "tractyl_manuform.h"
-void keyboard_pre_init_sub(void) { gpio_set_pin_input_high(A0); }
-
-void matrix_scan_sub_kb(void) {
- if (!gpio_read_pin(A0)) {
- reset_keyboard();
- }
-}
-
-__attribute__((weak)) void bootmagic_scan(void) {
- // We need multiple scans because debouncing can't be turned off.
- matrix_scan();
-#if defined(DEBOUNCE) && DEBOUNCE > 0
- wait_ms(DEBOUNCE * 2);
-#else
- wait_ms(30);
-#endif
- matrix_scan();
-
- uint8_t row = BOOTMAGIC_ROW;
- uint8_t col = BOOTMAGIC_COLUMN;
-
-#if defined(SPLIT_KEYBOARD) && defined(BOOTMAGIC_ROW_RIGHT) && defined(BOOTMAGIC_COLUMN_RIGHT)
- if (!is_keyboard_left()) {
- row = BOOTMAGIC_ROW_RIGHT;
- col = BOOTMAGIC_COLUMN_RIGHT;
- }
-#endif
-
- if (matrix_get_row(row) & (1 << col) || !gpio_read_pin(A0)) {
- eeconfig_disable();
- bootloader_jump();
- }
-}
-
-
#ifdef USB_VBUS_PIN
bool usb_vbus_state(void) {
gpio_set_pin_input_low(USB_VBUS_PIN);
@@ -58,9 +23,3 @@ bool usb_vbus_state(void) {
return gpio_read_pin(USB_VBUS_PIN);
}
#endif
-
-void matrix_output_unselect_delay(uint8_t line, bool key_pressed) {
- for (int32_t i = 0; i < 40; i++) {
- __asm__ volatile("nop" ::: "memory");
- }
-}