diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-07-06 22:48:19 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-07-06 22:48:19 -0400 |
commit | a4bf46f9b1d0a0be0cecb2cd0f0d941aa7c71bd3 (patch) | |
tree | d06043ac6fe7003ba2e9d7c3ea30378b6a51c3d5 /keyboards/lets_split/lets_split.c | |
parent | c88207884b5fb16c8955b54b4331fc605158b9f2 (diff) | |
download | qmk_firmware-a4bf46f9b1d0a0be0cecb2cd0f0d941aa7c71bd3.tar.gz qmk_firmware-a4bf46f9b1d0a0be0cecb2cd0f0d941aa7c71bd3.zip |
default keymap, reset sorted out for now, added serial to makefile
Diffstat (limited to 'keyboards/lets_split/lets_split.c')
-rw-r--r-- | keyboards/lets_split/lets_split.c | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/keyboards/lets_split/lets_split.c b/keyboards/lets_split/lets_split.c index 1859dc20a7..574c116a75 100644 --- a/keyboards/lets_split/lets_split.c +++ b/keyboards/lets_split/lets_split.c @@ -23,26 +23,8 @@ void matrix_init_kb(void) { matrix_init_user(); }; -void promicro_bootloader_jmp(bool program) { - - #ifdef AUDIO_ENABLE - PLAY_NOTE_ARRAY(tone_goodbye, false, 0); - _delay_ms(150); - stop_all_notes(); - #endif - - uint16_t *const bootKeyPtr = (uint16_t *)0x0800; - - // Value used by Caterina bootloader use to determine whether to run the - // sketch or the bootloader programmer. - uint16_t bootKey = program ? 0x7777 : 0; - - *bootKeyPtr = bootKey; - - // setup watchdog timeout - wdt_enable(WDTO_60MS); - - while(1) {} // wait for watchdog timer to trigger +void shutdown_user(void) { + PLAY_NOTE_ARRAY(tone_goodbye, false, 0); + _delay_ms(150); + stop_all_notes(); } - - |