#include <stdio.h>
#include <stdlib.h>
#include "../Utils/Updateable.h"
Go to the source code of this file.
◆ SensorType
◆ initSensor()
Initializes a sensor with the given parameters.
- Parameters
-
sensor | Pointer to the Sensor structure to initialize. |
name | Pointer to a string containing the name of the sensor. |
hz | The frequency in Hertz at which the sensor operates. |
type | The type of the sensor as defined by the SensorType enum. |
Definition at line 4 of file Sensor.c.
4 {
7}
void initUpdateable(Updateable *updateable, const char *name, int hz)