dmacore: add xfer_to method.

This commit is contained in:
Maxim Poliakovski 2024-11-03 14:59:48 +01:00
parent aa17bf06de
commit bd7c424989

View File

@ -99,6 +99,7 @@ public:
void connect(DmaChannel *ch_obj) { this->channel_obj = ch_obj; };
void notify(DmaMsg msg) {};
virtual int xfer_from(uint8_t *buf, int len) { return len; };
virtual int xfer_to(uint8_t *buf, int len) { return len; };
protected:
DmaChannel* channel_obj = nullptr;