dont break other revs

This commit is contained in:
Jack Humbert 2018-05-10 15:54:33 -04:00
parent 4a1984d33e
commit 82146ecfc0
3 changed files with 52 additions and 57 deletions

View File

@ -18,9 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef CONFIG_H #ifndef CONFIG_H
#define CONFIG_H #define CONFIG_H
#ifdef __AVR__
#include "config_common.h" #include "config_common.h"
#endif
/* USB Device descriptor parameter */ /* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED #define VENDOR_ID 0xFEED

View File

@ -324,11 +324,6 @@ void matrix_scan_user(void) {
last_muse_note = muse_note; last_muse_note = muse_note;
} }
} }
if (muse_counter > (muse_tempo / 2)) {
palSetPad(GPIOB, 5);
} else {
palClearPad(GPIOB, 5);
}
muse_counter = (muse_counter + 1) % muse_tempo; muse_counter = (muse_counter + 1) % muse_tempo;
} }
} }

View File

@ -22,6 +22,7 @@
#define ROW2COL 1 #define ROW2COL 1
#define CUSTOM_MATRIX 2 /* Disables built-in matrix scanning code */ #define CUSTOM_MATRIX 2 /* Disables built-in matrix scanning code */
#ifdef __AVR__
/* I/O pins */ /* I/O pins */
#ifndef F0 #ifndef F0
#define B0 0x30 #define B0 0x30
@ -73,6 +74,7 @@
#define A6 0x06 #define A6 0x06
#define A7 0x07 #define A7 0x07
#endif #endif
#endif
/* USART configuration */ /* USART configuration */
#ifdef BLUETOOTH_ENABLE #ifdef BLUETOOTH_ENABLE