Minor HAL cleanup

This commit is contained in:
Scott Lahteine 2020-03-29 17:14:06 -05:00
parent 765a9f3471
commit d029a09810
2 changed files with 3 additions and 8 deletions

View File

@ -90,7 +90,7 @@ void HAL_init() {
//debug_frmwrk_init(); //debug_frmwrk_init();
//_DBG("\n\nDebug running\n"); //_DBG("\n\nDebug running\n");
// Initialise the SD card chip select pins as soon as possible // Initialize the SD card chip select pins as soon as possible
#if PIN_EXISTS(SS) #if PIN_EXISTS(SS)
OUT_WRITE(SS_PIN, HIGH); OUT_WRITE(SS_PIN, HIGH);
#endif #endif

View File

@ -29,9 +29,7 @@
* The latest version of this library can always be found at * The latest version of this library can always be found at
* http://arduiniana.org. * http://arduiniana.org.
*/ */
#pragma once
#ifndef SOFTWARESERIAL_H
#define SOFTWARESERIAL_H
#include <Arduino.h> #include <Arduino.h>
@ -64,7 +62,6 @@ class SoftwareSerial : public Stream {
uint32_t delta_start = 0; uint32_t delta_start = 0;
// static data // static data
static bool initialised;
static HardwareTimer timer; static HardwareTimer timer;
static const IRQn_Type timer_interrupt_number; static const IRQn_Type timer_interrupt_number;
static uint32_t timer_interrupt_priority; static uint32_t timer_interrupt_priority;
@ -115,5 +112,3 @@ class SoftwareSerial : public Stream {
using Print::write; using Print::write;
}; };
#endif // SOFTWARESERIAL_H