mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 19:42:08 +02:00
Adding feature to log to SD Card (#708)
* Adding feature to log to SD Card Co-authored-by: mvgalen <marijnvangalen@gmail.com>
This commit is contained in:
parent
3d1f535b09
commit
f138f97905
10 changed files with 234 additions and 68 deletions
|
@ -5,6 +5,8 @@
|
|||
#include "Print.h"
|
||||
|
||||
class Logging : public Print {
|
||||
void add_timestamp(size_t size);
|
||||
|
||||
public:
|
||||
virtual size_t write(const uint8_t* buffer, size_t size);
|
||||
virtual size_t write(uint8_t) { return 0; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue