]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/lets_split/lets_split.c
Merge pull request #533 from mazinbokhari/master
[qmk_firmware.git] / keyboards / lets_split / lets_split.c
index 1859dc20a77a986f678622cbee9b93797686a525..574c116a75463358cb61b7df14e55729b61223fa 100644 (file)
@@ -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();
 }
-
-