aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/ortho60/ortho60.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/ortho60/ortho60.c')
-rw-r--r--keyboards/handwired/ortho60/ortho60.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/keyboards/handwired/ortho60/ortho60.c b/keyboards/handwired/ortho60/ortho60.c
deleted file mode 100644
index 32db007b6..000000000
--- a/keyboards/handwired/ortho60/ortho60.c
+++ /dev/null
@@ -1,32 +0,0 @@
1
2#include "ortho60.h"
3
4#include "ch.h"
5#include "hal.h"
6
7#include "underglow.h"
8#include "print.h"
9#include "debug.h"
10#include "util.h"
11
12/* generic STM32F103C8T6 board */
13#ifdef BOARD_GENERIC_STM32_F103
14#define LED_ON() do { palClearPad(GPIOC, 13) ;} while (0)
15#define LED_OFF() do { palSetPad(GPIOC, 13); } while (0)
16#define LED_TGL() do { palTogglePad(GPIOC, 13); } while (0)
17#endif
18
19void matrix_init_kb(void){
20 /* MOSI pin*/
21 palSetPadMode(GPIOB, 15, PAL_MODE_STM32_ALTERNATE_PUSHPULL);
22
23 LED_ON();
24 palSetPad(GPIOA, 8);
25 wait_ms(500);
26 palClearPad(GPIOA, 8);
27 LED_OFF();
28
29 leds_init();
30
31
32}