summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/command.c
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-05-24 17:57:40 -0500
committerIBNobody <ibnobody@gmail.com>2016-05-24 17:57:40 -0500
commit26277dbdf40ba7247981361c956ea44c92bf76ea (patch)
tree59e800a739797cb86d9345d01f73fceee4c32030 /tmk_core/common/command.c
parent76e36a787a58ad0e72fac579e4a02aa66ce26be1 (diff)
parent287eb7ad148abc8fe3fb014218d71e205fd9131d (diff)
Merge remote-tracking branch 'remotes/jackhumbert/master'
Diffstat (limited to 'tmk_core/common/command.c')
-rw-r--r--tmk_core/common/command.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/tmk_core/common/command.c b/tmk_core/common/command.c
index 9edcc42a05..024d7c67a3 100644
--- a/tmk_core/common/command.c
+++ b/tmk_core/common/command.c
@@ -33,20 +33,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "led.h"
#include "command.h"
#include "backlight.h"
+#include "quantum.h"
#ifdef MOUSEKEY_ENABLE
#include "mousekey.h"
#endif
#ifdef PROTOCOL_PJRC
-# include "usb_keyboard.h"
-# ifdef EXTRAKEY_ENABLE
-# include "usb_extra.h"
-# endif
+ #include "usb_keyboard.h"
+ #ifdef EXTRAKEY_ENABLE
+ #include "usb_extra.h"
+ #endif
#endif
#ifdef PROTOCOL_VUSB
-# include "usbdrv.h"
+ #include "usbdrv.h"
#endif
#ifdef AUDIO_ENABLE
@@ -358,7 +359,7 @@ static bool command_common(uint8_t code)
print("\n\nJumping to bootloader... ");
#ifdef AUDIO_ENABLE
stop_all_notes();
- play_goodbye_tone();
+ shutdown_user();
#else
_delay_ms(1000);
#endif