Files
Crosspoint/test/shims/HardwareSerial.h
T
Joel Goguen 1986092522 feat(opds): Allow selecting the download format
When downloading a book via OPDS, the last acquisition link is chosen when there are multiple. This allows choosing which format to download when there are many. Having only one format will automatically download that.
2026-04-19 23:15:54 -04:00

16 lines
314 B
C++

#pragma once
#include "Print.h"
class HWCDC : public Print {
public:
void begin(unsigned long) {}
operator bool() const { return true; }
size_t write(uint8_t) override { return 1; }
size_t write(const uint8_t*, size_t size) override { return size; }
void flush() override {}
};
inline HWCDC Serial;