diff --git a/apps/collect-view/Makefile.collect-view b/apps/collect-view/Makefile.collect-view index 426b29d92..8155e4699 100644 --- a/apps/collect-view/Makefile.collect-view +++ b/apps/collect-view/Makefile.collect-view @@ -2,4 +2,6 @@ collect-view_src = collect-view.c ifeq ($(TARGET), sky) collect-view_src += collect-view-sky.c +else +collect-view_src += collect-view-template.c endif diff --git a/apps/collect-view/collect-view-template.c b/apps/collect-view/collect-view-template.c new file mode 100644 index 000000000..a6fa1c4b4 --- /dev/null +++ b/apps/collect-view/collect-view-template.c @@ -0,0 +1,15 @@ +#include "collect-view.h" + +enum { + SENSOR1, + SENSOR2, +}; + +/*---------------------------------------------------------------------------*/ +void +collect_view_arch_read_sensors(struct collect_view_data_msg *msg) +{ + msg->sensors[SENSOR1] = 0; + msg->sensors[SENSOR2] = 0; +} +/*---------------------------------------------------------------------------*/