]> sigrok.org Git - libsigrok.git/blobdiff - src/dmm/ut372.c
output/csv: use intermediate time_t var, silence compiler warning
[libsigrok.git] / src / dmm / ut372.c
index ef0677bc5364e9060130dd1c41d2fb1f7b6d898c..ce21273b688a9f63a9f11a942bb5a545dd3e68da 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/>.
  */
 
 /*
@@ -133,7 +132,7 @@ SR_PRIV int sr_ut372_parse(const uint8_t *buf, float *floatval,
 
        *floatval = (float) value * powf(10, exponent);
 
-       analog->encoding->digits  = -exponent;
+       analog->encoding->digits = -exponent;
        analog->spec->spec_digits = -exponent;
 
        return SR_OK;