colead-slm: properly set encoding digits

This commit is contained in:
Aurelien Jacobs 2016-08-24 00:51:08 +02:00
parent 8c50007222
commit dcb6fcbb7b
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ static void process_packet(const struct sr_dev_inst *sdi)
}
fvalue /= 10;
sr_analog_init(&analog, &encoding, &meaning, &spec, 0);
sr_analog_init(&analog, &encoding, &meaning, &spec, 1);
analog.meaning->mq = SR_MQ_SOUND_PRESSURE_LEVEL;
analog.meaning->unit = SR_UNIT_DECIBEL_SPL;
analog.meaning->channels = sdi->channels;