counting per-channel traffic

This commit is contained in:
rusefillc 2023-03-16 12:59:49 -04:00
parent 1267434971
commit 154855eb30
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ public:
// Base functions that use the above virtual implementation
size_t read(uint8_t* buffer, size_t size);
int bytesIn = 0;
int bytesOut = 0;
#ifdef EFI_CAN_SERIAL
virtual // CAN device needs this function to be virtual for small-packet optimization
#endif