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