Skip to content

Commit

Permalink
Miscellaneous cleanups (#8639)
Browse files Browse the repository at this point in the history
* Miscellaneous cleanups

* Cast NO_PIN
  • Loading branch information
fauxpark committed Apr 1, 2020
1 parent b6a0950 commit 95c5c11
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 22 deletions.
2 changes: 0 additions & 2 deletions keyboards/coseyfannitutti/romeo/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW

#define NO_UART 1

/*
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
*/
Expand Down
2 changes: 1 addition & 1 deletion quantum/config_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#define ROW2COL 1

// useful for direct pin mapping
#define NO_PIN (~0)
#define NO_PIN (pin_t)(~0)

#ifdef __AVR__
# ifndef __ASSEMBLER__
Expand Down
4 changes: 0 additions & 4 deletions quantum/quantum.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,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();
}
Expand Down
6 changes: 0 additions & 6 deletions tmk_core/protocol/lufa/lufa.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,8 @@ extern host_driver_t lufa_driver;
# define MIDI_SYSEX_BUFFER (API_SYSEX_MAX_SIZE + API_SYSEX_MAX_SIZE / 7 + (API_SYSEX_MAX_SIZE % 7 ? 1 : 0))
#endif

// #if LUFA_VERSION_INTEGER < 0x120730
// /* old API 120219 */
// #define ENDPOINT_CONFIG(epnum, eptype, epdir, epsize, epbank) Endpoint_ConfigureEndpoint(epnum, eptype, epdir, epsize, epbank)
// #else
/* new API >= 120730 */
#define ENDPOINT_BANK_SINGLE 1
#define ENDPOINT_BANK_DOUBLE 2
#define ENDPOINT_CONFIG(epnum, eptype, epdir, epsize, epbank) Endpoint_ConfigureEndpoint((epdir) | (epnum), eptype, epsize, epbank)
// #endif

#endif
5 changes: 0 additions & 5 deletions util/activate_msys2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ function export_variables {
export PATH=$PATH:$util_dir/flip/bin
export PATH=$PATH:$util_dir/avr8-gnu-toolchain/bin
export PATH=$PATH:$util_dir/gcc-arm-none-eabi/bin
export PATH=$PATH:/mingw64/bin
}

export_variables




4 changes: 0 additions & 4 deletions util/activate_wsl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@ function export_variables {
}

export_variables




0 comments on commit 95c5c11

Please sign in to comment.