]> sigrok.org Git - libsigrok.git/blobdiff - src/dmm/fs9922.c
ut71x: Fix float printing issue in a debug message.
[libsigrok.git] / src / dmm / fs9922.c
index 11fc7736e862107462ccc3b3f515c91056ca1b82..b98d8ee29e6d14bb6624d218d3497f35dbd2859c 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/>.
  */
 
 /*
@@ -370,7 +369,7 @@ SR_PRIV int sr_fs9922_parse(const uint8_t *buf, float *floatval,
        parse_flags(buf, info_local);
        handle_flags(analog, floatval, &exponent, info_local);
 
-       analog->encoding->digits  = -exponent;
+       analog->encoding->digits = -exponent;
        analog->spec->spec_digits = -exponent;
 
        return SR_OK;