forked from espressif/arduino-esp32
64bit millis() preparations
This commit is contained in:
@ -23,6 +23,7 @@
|
||||
|
||||
#include <memory>
|
||||
#include <Arduino.h>
|
||||
#include "Print.h"
|
||||
|
||||
namespace fs
|
||||
{
|
||||
@ -44,11 +45,11 @@ enum SeekMode {
|
||||
SeekEnd = 2
|
||||
};
|
||||
|
||||
class File : public Stream
|
||||
class File : public Print
|
||||
{
|
||||
public:
|
||||
File(FileImplPtr p = FileImplPtr()) : _p(p) {
|
||||
_timeout = 0;
|
||||
//_timeout = 0;
|
||||
}
|
||||
|
||||
size_t write(uint8_t) override;
|
||||
|
@ -28,14 +28,14 @@
|
||||
#include <esp32-hal.h>
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/queue.h"
|
||||
#include "Stream.h"
|
||||
#include "Print.h"
|
||||
|
||||
#define STICKBREAKER 'V1.1.0'
|
||||
#define I2C_BUFFER_LENGTH 128
|
||||
typedef void(*user_onRequest)(void);
|
||||
typedef void(*user_onReceive)(uint8_t*, int);
|
||||
|
||||
class TwoWire: public Stream
|
||||
class TwoWire: public Print
|
||||
{
|
||||
protected:
|
||||
uint8_t num;
|
||||
|
Reference in New Issue
Block a user