From 5724fd795ada17a62cea06fb1da69db9acf20550 Mon Sep 17 00:00:00 2001 From: jerryneedell Date: Sun, 10 Jun 2018 05:59:20 -0400 Subject: [PATCH] fix #918 Add stub for common_hal_pulseio_pulsein_get_paused to make ESP8266 build compatible with PR #901 --- ports/esp8266/common-hal/pulseio/PulseIn.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports/esp8266/common-hal/pulseio/PulseIn.c b/ports/esp8266/common-hal/pulseio/PulseIn.c index 783442b35c..eb6fb7baa2 100644 --- a/ports/esp8266/common-hal/pulseio/PulseIn.c +++ b/ports/esp8266/common-hal/pulseio/PulseIn.c @@ -62,6 +62,10 @@ uint16_t common_hal_pulseio_pulsein_get_maxlen(pulseio_pulsein_obj_t* self) { return 0; } +bool common_hal_pulseio_pulsein_get_paused(pulseio_pulsein_obj_t* self) { + return true; +} + uint16_t common_hal_pulseio_pulsein_get_len(pulseio_pulsein_obj_t* self) { return 0; }