Moved packet structure into its own header file
This commit is contained in:
parent
a0960154ba
commit
026076e1f4
|
@ -5,19 +5,7 @@
|
||||||
#include "dev/battery-sensor.h"
|
#include "dev/battery-sensor.h"
|
||||||
#include "dev/sht11-sensor.h"
|
#include "dev/sht11-sensor.h"
|
||||||
|
|
||||||
enum {
|
#include "collect-view-sky.h"
|
||||||
BATTERY_VOLTAGE_SENSOR,
|
|
||||||
BATTERY_INDICATOR,
|
|
||||||
LIGHT1_SENSOR,
|
|
||||||
LIGHT2_SENSOR,
|
|
||||||
TEMP_SENSOR,
|
|
||||||
HUMIDITY_SENSOR,
|
|
||||||
RSSI_SENSOR,
|
|
||||||
ETX1_SENSOR,
|
|
||||||
ETX2_SENSOR,
|
|
||||||
ETX3_SENSOR,
|
|
||||||
ETX4_SENSOR,
|
|
||||||
};
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
|
|
21
apps/collect-view/collect-view-sky.h
Normal file
21
apps/collect-view/collect-view-sky.h
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
#ifndef COLLECT_VIEW_SKY_H
|
||||||
|
#define COLLECT_VIEW_SKY_H
|
||||||
|
|
||||||
|
#include "collect-view.h"
|
||||||
|
|
||||||
|
enum {
|
||||||
|
BATTERY_VOLTAGE_SENSOR,
|
||||||
|
BATTERY_INDICATOR,
|
||||||
|
LIGHT1_SENSOR,
|
||||||
|
LIGHT2_SENSOR,
|
||||||
|
TEMP_SENSOR,
|
||||||
|
HUMIDITY_SENSOR,
|
||||||
|
RSSI_SENSOR,
|
||||||
|
ETX1_SENSOR,
|
||||||
|
ETX2_SENSOR,
|
||||||
|
ETX3_SENSOR,
|
||||||
|
ETX4_SENSOR,
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* COLLECT_VIEW_SKY_H */
|
Loading…
Reference in a new issue