]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/mic-985xx/protocol.c
license: remove FSF postal address from boiler plate license text
[libsigrok.git] / src / hardware / mic-985xx / protocol.c
index 9bd7dcd896050aed44ead03854a425305fd26a81..65490537609f03f936f261f8ad12065e2621cfe9 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
  */
 
 #include <config.h>
@@ -113,7 +112,7 @@ static int handle_packet(const uint8_t *buf, struct sr_dev_inst *sdi, int idx)
                return SR_ERR;
        }
 
-       sr_analog_init(&analog, &encoding, &meaning, &spec, 3);
+       sr_analog_init(&analog, &encoding, &meaning, &spec, 1);
 
        /* Common values for both channels. */
        packet.type = SR_DF_ANALOG;