add humidity resource, bugfix pressure string variable

This commit is contained in:
Harald Pichler 2017-02-24 10:28:35 +01:00
parent 2137a12971
commit ae6375d900
2 changed files with 81 additions and 2 deletions

View file

@ -18,7 +18,7 @@ extern "C" {
#include "arduino-process.h"
#include "rest-engine.h"
extern resource_t res_bmptemp,res_bmppress,res_bmpatm,res_bmpalt, res_battery;
extern resource_t res_bmptemp, res_bmphum, res_bmppress,res_bmpatm,res_bmpalt, res_battery;
float bmptemp;
float bmppress;
@ -26,7 +26,7 @@ float bmpatm;
float bmpalt;
float bmphum;
char bmptemp_s[8];
char bmppress_s[8];
char bmppress_s[10];
char bmpatm_s[8];
char bmpalt_s[8];
char bmphum_s[8];