HAS_SENSOR defines sanitization

This commit is contained in:
Klaus K Wilting committed 2020-11-02 18:44:06 +01:00
1 parent 40f0036b7a
commit 8452347bf3
7 files changed
+7 -18

No files matched your search

+3 -1
View File
@@ -1,8 +1,10 @@
#ifndef _SENSOR_H
#define _SENSOR_H
#define HAS_SENSORS (HAS_SENSOR_1 || HAS_SENSOR_2 || HAS_SENSOR_3)
uint8_t sensor_mask(uint8_t sensor_no);
uint8_t * sensor_read(uint8_t sensor);
uint8_t *sensor_read(uint8_t sensor);
void sensor_init(void);
#endif