module/battery: export module info through the new module_info struct type

This commit is contained in:
Daniel Eklöf 2019-01-12 12:02:41 +01:00
parent 3d36735f88
commit e24923e7cc
4 changed files with 33 additions and 31 deletions

View file

@ -1,7 +1,4 @@
#pragma once
#include "../../module.h"
#include "../../particle.h"
struct module *module_battery(
const char *battery, struct particle *label, int poll_interval_secs);
extern const struct module_info module_battery;