Skip to content

Commit

Permalink
Fix InfluxDB send sensor by id (#882)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoseperez committed May 26, 2018
1 parent f37b15c commit f0fffcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/espurna/influxdb.ino
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ bool idbSend(const char * topic, const char * payload) {
bool idbSend(const char * topic, unsigned char id, const char * payload) {
char measurement[64];
snprintf(measurement, sizeof(measurement), "%s,id=%d", topic, id);
return idbSend(topic, payload);
return idbSend(measurement, payload);
}

bool idbEnabled() {
Expand Down

0 comments on commit f0fffcb

Please sign in to comment.