🚸 Fix and improve MKS LVGL UI (#22783)
Co-authored-by: makerbase <4164049@qq.com> Co-authored-by: MKS-Sean <56996910+MKS-Sean@users.noreply.github.com> Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@@ -37,7 +37,7 @@ class WifiSerial {
|
||||
|
||||
// Set up / tear down
|
||||
void begin(uint32_t baud);
|
||||
void begin(uint32_t baud,uint8_t config);
|
||||
void begin(uint32_t baud, uint8_t config);
|
||||
void end();
|
||||
int available(void);
|
||||
int read(void);
|
||||
@@ -51,13 +51,13 @@ class WifiSerial {
|
||||
bool isHalfDuplex(void) const;
|
||||
void enableHalfDuplexRx(void);
|
||||
|
||||
private:
|
||||
void setRx(uint32_t _rx);
|
||||
void setTx(uint32_t _tx);
|
||||
void setRx(PinName _rx);
|
||||
void setTx(PinName _tx);
|
||||
void init(PinName _rx, PinName _tx);
|
||||
bool _rx_enabled;
|
||||
uint8_t _config;
|
||||
unsigned long _baud;
|
||||
private:
|
||||
void setRx(uint32_t _rx);
|
||||
void setTx(uint32_t _tx);
|
||||
void setRx(PinName _rx);
|
||||
void setTx(PinName _tx);
|
||||
void init(PinName _rx, PinName _tx);
|
||||
bool _rx_enabled;
|
||||
uint8_t _config;
|
||||
unsigned long _baud;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user