Add C++ Bus class for the physical layer interface

This commit is contained in:
Allen Hill
2026-06-25 20:40:10 -07:00
parent 67ba8e774c
commit d98cc8acad
7 changed files with 344 additions and 202 deletions
+2 -1
View File
@@ -71,7 +71,8 @@ int main() {
const AVCLAN_frame_t *lastStatus = nullptr;
avclan::Peripheral cd_changer(0x360);
avclan::Bus phy;
avclan::Peripheral cd_changer(phy, 0x360);
using Error = avclan::Peripheral::Error;
Setup();