mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
influxdb: fix index error
This commit is contained in:
parent
06b374e05e
commit
ebc60ed3a1
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ int influxdb_write(struct node *n, struct sample *smps[], unsigned cnt, unsigned
|
|||
/* Fields */
|
||||
for (unsigned j = 0; j < smp->length; j++) {
|
||||
struct signal *sig = (struct signal *) vlist_at(smp->signals, j);
|
||||
union signal_data *data = &smp->data[k];
|
||||
union signal_data *data = &smp->data[j];
|
||||
|
||||
if (
|
||||
sig->type != SignalType::BOOLEAN &&
|
||||
|
|
Loading…
Add table
Reference in a new issue