Miscellaneous cleanups (#8639)

* Miscellaneous cleanups

* Cast NO_PIN
This commit is contained in:
Ryan
2020-04-02 01:49:45 +11:00
committed by Florian Didron
parent 09aa3b15f4
commit ee1860315d
5 changed files with 1 additions and 20 deletions

View File

@@ -22,7 +22,7 @@
#define CUSTOM_MATRIX 2 /* Disables built-in matrix scanning code */
// useful for direct pin mapping
#define NO_PIN (~0)
#define NO_PIN (pin_t)(~0)
#ifdef __AVR__
# ifndef __ASSEMBLER__

View File

@@ -141,10 +141,6 @@ void reset_keyboard(void) {
#endif
#ifdef HAPTIC_ENABLE
haptic_shutdown();
#endif
// this is also done later in bootloader.c - not sure if it's neccesary here
#ifdef BOOTLOADER_CATERINA
*(uint16_t *)0x0800 = 0x7777; // these two are a-star-specific
#endif
bootloader_jump();
}