Vehicle Control Unit 0.01
This is the c library for controlling the car.
Loading...
Searching...
No Matches
ExternalSystem.c
Go to the documentation of this file.
1#include "../../Inc/Systems/ExternalSystem.h"
2
3void initExternalSystem(ExternalSystem* external, const char* name, int hz,
5 initSystem(&external->system, name, hz, EXTERNAL);
6 external->type = type;
7 external->comms = NULL;
8 external->check_heartbeat = NULL;
9}
void initExternalSystem(ExternalSystem *external, const char *name, int hz, ExternalType type)
Definition: ExternalSystem.c:3
ExternalType
void initSystem(System *system, const char *name, int hz, SystemType type)
Initializes a System object.
Definition: System.c:3
@ EXTERNAL
Definition: System.h:12
type
Definition: Updateable.h:17
ExternalType type
CommsSystem * comms
int(* check_heartbeat)(void *self)