|
|
@@ -16,21 +16,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
*/
|
|
|
#include "quantum.h"
|
|
|
|
|
|
-/*
|
|
|
- * Hardware function pre initialisation.
|
|
|
- * See https://docs.qmk.fm/#/custom_quantum_functions?id=example-keyboard_pre_init_user-implementation
|
|
|
- */
|
|
|
-void keyboard_pre_init_user(void) {
|
|
|
- // Call the keyboard pre init code.
|
|
|
-
|
|
|
+void keyboard_pre_init_kb(void) {
|
|
|
// Set our LED pins as output
|
|
|
gpio_set_pin_output(C3);
|
|
|
+
|
|
|
+ keyboard_pre_init_user();
|
|
|
}
|
|
|
|
|
|
void matrix_init_kb(void) {
|
|
|
-
|
|
|
// Flash the led 1 sec on startup.
|
|
|
gpio_write_pin_high(C3);
|
|
|
wait_ms(1000);
|
|
|
gpio_write_pin_low(C3);
|
|
|
+
|
|
|
+ matrix_init_user();
|
|
|
}
|