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
#define CONFIG_H
#ifdef __AVR__
#include "config_common.h"
#endif
/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED

View File

@ -324,11 +324,6 @@ void matrix_scan_user(void) {
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;
}
}

View File

@ -22,8 +22,9 @@
#define ROW2COL 1
#define CUSTOM_MATRIX 2 /* Disables built-in matrix scanning code */
/* I/O pins */
#ifndef F0
#ifdef __AVR__
/* I/O pins */
#ifndef F0
#define B0 0x30
#define B1 0x31
#define B2 0x32
@ -72,6 +73,7 @@
#define A5 0x05
#define A6 0x06
#define A7 0x07
#endif
#endif
/* USART configuration */