Vehicle Control Unit 0.01
This is the c library for controlling the car.
Loading...
Searching...
No Matches
System.c
Go to the documentation of this file.
1#include "../../Inc/Systems/System.h"
2
3void initSystem(System* system, const char* name, int hz, SystemType type) {
4 initUpdateable(&system->updateable, name, hz);
5 system->type = type;
6}
void initSystem(System *system, const char *name, int hz, SystemType type)
Initializes a System object.
Definition: System.c:3
SystemType
Definition: System.h:10
type
Definition: Updateable.h:17
void initUpdateable(Updateable *updateable, const char *name, int hz)
Definition: Updateable.c:6
Definition: System.h:17
Updateable updateable
Definition: System.h:18
SystemType type
Definition: System.h:19