Moved packet structure into its own header file

This commit is contained in:
adamdunkels 2011-01-09 21:08:30 +00:00
parent a0960154ba
commit 026076e1f4
2 changed files with 22 additions and 13 deletions

View file

@ -5,19 +5,7 @@
#include "dev/battery-sensor.h"
#include "dev/sht11-sensor.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,
};
#include "collect-view-sky.h"
/*---------------------------------------------------------------------------*/
void

View 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 */