64bit millis() preparations

This commit is contained in:
2021-02-22 12:04:20 +01:00
parent e385dd8abc
commit 4458870228
13 changed files with 18 additions and 599 deletions

View File

@ -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;

View File

@ -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;