X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fkern-scale%2Fprotocol.c;h=97b557f9fdbd5cfafc826826a72adedcffb0a5a3;hb=276d7b18bbe71d061544c2d2989330b38ce86df3;hp=01838e3d55da75bbe230a9e20dfe733a729e0ac2;hpb=563ba4a5c22475357604bffd1e391a4c53c55e50;p=libsigrok.git diff --git a/src/hardware/kern-scale/protocol.c b/src/hardware/kern-scale/protocol.c index 01838e3d..97b557f9 100644 --- a/src/hardware/kern-scale/protocol.c +++ b/src/hardware/kern-scale/protocol.c @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #include @@ -43,6 +42,7 @@ static void handle_packet(const uint8_t *buf, struct sr_dev_inst *sdi, devc = sdi->priv; + /* Note: digits/spec_digits will be overridden later. */ sr_analog_init(&analog, &encoding, &meaning, &spec, 0); analog.meaning->channels = sdi->channels;