94c94,96
< txEvent(this), rxDmaEvent(this), txDmaEvent(this),
---
> txEvent([this]{ txEventTransmit(); }, name()),
> rxDmaEvent([this]{ rxDmaDone(); }, name()),
> txDmaEvent([this]{ txDmaDone(); }, name()),
538c540,542
< intrEvent = new IntrEvent(this, true);
---
>
> intrEvent = new EventFunctionWrapper([this]{ cpuInterrupt(); },
> name(), true);
1300c1304,1305
< intrEvent = new IntrEvent(this, true);
---
> intrEvent = new EventFunctionWrapper([this]{ cpuInterrupt(); },
> name(), true);