diff options
Diffstat (limited to 'keyboards/gray_studio/hb85/hb85.c')
| -rw-r--r-- | keyboards/gray_studio/hb85/hb85.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/keyboards/gray_studio/hb85/hb85.c b/keyboards/gray_studio/hb85/hb85.c index 4b3ff64f1..964234d6b 100644 --- a/keyboards/gray_studio/hb85/hb85.c +++ b/keyboards/gray_studio/hb85/hb85.c | |||
| @@ -17,23 +17,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | */ | 17 | */ |
| 18 | 18 | ||
| 19 | #include "hb85.h" | 19 | #include "hb85.h" |
| 20 | |||
| 21 | void keyboard_pre_init_kb(void) { | ||
| 22 | led_init_ports(); | ||
| 23 | keyboard_pre_init_user(); | ||
| 24 | } | ||
| 25 | |||
| 26 | void led_init_ports(void) { | ||
| 27 | setPinOutput(D0); | ||
| 28 | setPinOutput(D1); | ||
| 29 | setPinOutput(D6); | ||
| 30 | } | ||
| 31 | |||
| 32 | bool led_update_kb(led_t led_state) { | ||
| 33 | if (led_update_user(led_state)) { | ||
| 34 | writePin(D0, led_state.num_lock); | ||
| 35 | writePin(D1, led_state.caps_lock); | ||
| 36 | writePin(D6, led_state.scroll_lock); | ||
| 37 | } | ||
| 38 | return true; | ||
| 39 | } | ||
