[2.0.x] Add support for LPC1769 at 120 MHz (#9423)
This commit is contained in:
committed by
Scott Lahteine
parent
6ace57e1b0
commit
e1fd9c08b3
@@ -36,6 +36,7 @@ class HardwareSerial : public Stream {
|
||||
private:
|
||||
LPC_UART_TypeDef *UARTx;
|
||||
|
||||
uint32_t Baudrate;
|
||||
uint32_t Status;
|
||||
uint8_t RxBuffer[RX_BUFFER_SIZE];
|
||||
uint32_t RxQueueWritePos;
|
||||
@@ -49,6 +50,7 @@ private:
|
||||
public:
|
||||
HardwareSerial(LPC_UART_TypeDef *UARTx)
|
||||
: UARTx(UARTx)
|
||||
, Baudrate(0)
|
||||
, RxQueueWritePos(0)
|
||||
, RxQueueReadPos(0)
|
||||
#if TX_BUFFER_SIZE > 0
|
||||
|
||||
Reference in New Issue
Block a user