diff --git a/Inc/LinIO.h b/Inc/LinIO.h index 2c0cfc0..b1d4690 100644 --- a/Inc/LinIO.h +++ b/Inc/LinIO.h @@ -41,13 +41,13 @@ typedef struct { uint8_t g_aRxBuffer[8]; } tLinData; -typedef uint8_t (* LinIOTransaction )(void *env, uint32_t timeout); +typedef uint8_t (* LinIOTransaction )(void *env, tLinData *linData, uint32_t timeout); typedef struct { void *env; - LinIOTransaction runCommand; - LinIOTransaction getCommand; -} tLinIO; + LinIOTransaction receivedCommand; + LinIOTransaction transmitCommand; +} tSerialPortLinIO; #endif //MODULE_LINIO_H