diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-25 17:51:07 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-25 23:16:01 +0200 |
commit | b3f83fda31bfeef63b0ed5610c7b2986ad80dcc5 (patch) | |
tree | 1a492564fb1476bd1ecfb23709022ad78af48878 /tests/main.c | |
parent | 34ed4b3fb179f4ff7972879534a7395c90fe8d84 (diff) | |
download | libsigrokdecode-b3f83fda31bfeef63b0ed5610c7b2986ad80dcc5.tar.gz libsigrokdecode-b3f83fda31bfeef63b0ed5610c7b2986ad80dcc5.zip |
ir_nec: only use the samplerate after receiving the value
The metadata() method unconditionally referenced the samplerate even
though the value is only available conditionally. Move the references to
a location after the samplerate presence check.
Diffstat (limited to 'tests/main.c')
0 files changed, 0 insertions, 0 deletions