mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-03 04:50:37 +08:00
Fix compilations error with ESP8266
This commit is contained in:
parent
bb2b7a8e62
commit
8425f96af8
@ -23,7 +23,7 @@
|
||||
|
||||
#ifndef DEBUG_BAUDRATE
|
||||
#define DEBUG_BAUDRATE 115200
|
||||
#ndif //~DEBUG_BAUDRATE
|
||||
#endif //~DEBUG_BAUDRATE
|
||||
|
||||
#if defined(ARDUINO_ARCH_ESP8266)
|
||||
const char * pathToFileName(const char * path)
|
||||
|
@ -287,7 +287,7 @@ size_t SerialService::write(const uint8_t *buffer, size_t size)
|
||||
}
|
||||
}
|
||||
|
||||
uint SerialService::availableForWrite()
|
||||
int SerialService::availableForWrite()
|
||||
{
|
||||
return ESP3D_SERIAL.availableForWrite();
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ public:
|
||||
const long * get_baudratelist(uint8_t * count);
|
||||
void flush();
|
||||
void swap();
|
||||
uint availableForWrite();
|
||||
int availableForWrite();
|
||||
int available();
|
||||
bool is_valid_baudrate(long br);
|
||||
size_t write(uint8_t c);
|
||||
|
Loading…
x
Reference in New Issue
Block a user