mirror of
https://github.com/jscrane/r65emu.git
synced 2025-02-08 22:30:40 +00:00
15 lines
233 B
C++
15 lines
233 B
C++
#if !defined(__HW_SERIAL_DSP_H__)
|
|
#define __HW_SERIAL_DSP_H__
|
|
|
|
class hw_serial_dsp: public serial_dsp {
|
|
public:
|
|
hw_serial_dsp(Print &p): _print(p) {}
|
|
|
|
void write(uint8_t b) { _print.write(b); }
|
|
|
|
private:
|
|
Print &_print;
|
|
};
|
|
|
|
#endif
|