Minor HAL cleanup
This commit is contained in:
@ -45,9 +45,14 @@
|
||||
// Defines
|
||||
// ------------------------
|
||||
|
||||
#define IS_32BIT_TEENSY (defined(__MK64FX512__) || defined(__MK66FX1M0__))
|
||||
#define IS_TEENSY35 defined(__MK64FX512__)
|
||||
#define IS_TEENSY36 defined(__MK66FX1M0__)
|
||||
#ifdef __MK64FX512__
|
||||
#define IS_32BIT_TEENSY 1
|
||||
#define IS_TEENSY35 1
|
||||
#endif
|
||||
#ifdef __MK66FX1M0__
|
||||
#define IS_32BIT_TEENSY 1
|
||||
#define IS_TEENSY36 1
|
||||
#endif
|
||||
|
||||
#define NUM_SERIAL 1
|
||||
|
||||
|
@ -31,7 +31,7 @@ static SPISettings spiConfig;
|
||||
|
||||
void spiBegin() {
|
||||
#if !PIN_EXISTS(SS)
|
||||
#error SS_PIN not defined!
|
||||
#error "SS_PIN not defined!"
|
||||
#endif
|
||||
OUT_WRITE(SS_PIN, HIGH);
|
||||
SET_OUTPUT(SCK_PIN);
|
||||
|
Reference in New Issue
Block a user