return TRUE;
}
-#ifdef HAVE_LIBSERIALPORT
+#ifdef HAVE_SERIAL_COMM
/**
* Arrange for the reception of another measurement from the DMM.
*
* without the PC's intervention.
*
* @param[in] serial The serial connection.
- *
- * @private
*/
SR_PRIV int sr_asycii_packet_request(struct sr_serial_dev_inst *serial)
{
int ret, exponent;
struct asycii_info *info_local;
- info_local = (struct asycii_info *)info;
+ info_local = info;
/* Don't print byte 15. That one contains the carriage return. */
sr_dbg("DMM packet: \"%.15s\"", buf);