X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fdemo%2Fapi.c;h=c6c27e3c0b8b7fb619b2224fc69eba6646ed403d;hb=6d13a46ce0a1483fffb342239ca1b10fa354fca2;hp=141b69d53604862eccbe153410e8d1273ea66549;hpb=ba508e22d4e5ac358489e24b29f458c5bc1fb892;p=libsigrok.git
diff --git a/src/hardware/demo/api.c b/src/hardware/demo/api.c
index 141b69d5..c6c27e3c 100644
--- a/src/hardware/demo/api.c
+++ b/src/hardware/demo/api.c
@@ -17,8 +17,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
@@ -473,6 +472,7 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi)
/* We use this timestamp to decide how many more samples to send. */
devc->start_us = g_get_monotonic_time();
devc->spent_us = 0;
+ devc->step = 0;
return SR_OK;
}