Remove HAL.h dependency in SoftwareSerial.h
This commit is contained in:
parent
a6f682d860
commit
9624c90cfb
2 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
// Constructor
|
||||
|
||||
SoftwareSerial::SoftwareSerial(pin_t RX_pin, pin_t TX_pin) {}
|
||||
SoftwareSerial::SoftwareSerial(int8_t RX_pin, int8_t TX_pin) {}
|
||||
|
||||
// Public
|
||||
|
||||
|
|
|
@ -18,13 +18,13 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#include "HAL.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#define SW_SERIAL_PLACEHOLDER 1
|
||||
|
||||
class SoftwareSerial {
|
||||
public:
|
||||
SoftwareSerial(pin_t RX_pin, pin_t TX_pin);
|
||||
SoftwareSerial(int8_t RX_pin, int8_t TX_pin);
|
||||
|
||||
void begin(const uint32_t baudrate);
|
||||
|
||||
|
|
Reference in a new issue