From b9b8eff3903f322f0ed3d70d7cbda7f153103ee4 Mon Sep 17 00:00:00 2001 From: Jul3k Date: Thu, 5 Mar 2020 16:37:23 +0100 Subject: [PATCH] Reverted size paramter fore wavecreate in x_pigpio.c --- x_pigpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x_pigpio.c b/x_pigpio.c index 61b37c2..cd15389 100644 --- a/x_pigpio.c +++ b/x_pigpio.c @@ -391,7 +391,7 @@ To the lascivious pleasing of a lute.\n\ e = gpioWaveAddGeneric(4, wf); CHECK(5, 2, e, 4, 0, "pulse, wave add generic"); - wid = gpioWaveCreate(0); + wid = gpioWaveCreate(); e = gpioWaveTxSend(wid, PI_WAVE_MODE_REPEAT); if (e < 14) CHECK(5, 3, e, 9, 0, "wave tx repeat"); else CHECK(5, 3, e, 19, 0, "wave tx repeat"); @@ -413,7 +413,7 @@ To the lascivious pleasing of a lute.\n\ e = gpioWaveAddSerial(GPIO, BAUD, 8, 2, 5000000, strlen(TEXT), TEXT); CHECK(5, 7, e, 3405, 0, "wave clear, wave add serial"); - wid = gpioWaveCreate(0); + wid = gpioWaveCreate(); e = gpioWaveTxSend(wid, PI_WAVE_MODE_ONE_SHOT); if (e < 6964) CHECK(5, 8, e, 6811, 0, "wave tx start"); else CHECK(5, 8, e, 7116, 0, "wave tx start");