Final SW Version 8

This commit is contained in:
Meydin87
2023-07-30 17:07:49 +02:00
parent ad72be85b1
commit c8ffe71fca
3 changed files with 52 additions and 25 deletions

View File

@@ -24,7 +24,7 @@ typedef struct CanInterface
handle(this->interface, frame);
if (this->next != NULL)
this->next->ForEach(handle, frame);
this->next->ForEach(handle, frame, exclude);
}
void AddCanInterface(CanInterface *newCanInterface)
@@ -99,7 +99,7 @@ const uint16_t TRIGGER_SWITCH_CAN_ID = 0x0055;
void AddCanInterface(byte pinId);
void SetMeyPin(byte index, byte meyPinId, byte pinId);
void SetupMeyCan();
void SetupMeyCan(byte majorHardwareVersion, byte minorHardwareVersion, byte deviceTypeId);
void ForEachCanInterface(void (*handle)(MCP2515 *canInterace));
bool ReadPin(PinState *state);