mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-13 05:38:51 +06:00
4c1c112a16
* Traveller cleanup * Update keyboards/handwired/traveller/info.json Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Joel Challis <git@zvecr.com>
19 lines
400 B
C
19 lines
400 B
C
#include "traveller.h"
|
|
|
|
void matrix_init_kb(void) {
|
|
// put your keyboard start-up code here
|
|
// runs once when the firmware starts up
|
|
|
|
#ifdef RGBLIGHT_ENABLE
|
|
rgblight_init();
|
|
rgblight_mode(1); // solid, no timer
|
|
rgblight_setrgb(0,20,0);// dim green, happens to be same as _QW
|
|
#endif
|
|
|
|
// Turn status LED on
|
|
setPinOutput(C7);
|
|
writePinHigh(C7);
|
|
|
|
matrix_init_user();
|
|
}
|