summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-06-10 09:17:49 -0400
committerGitHub <noreply@github.com>2018-06-10 09:17:49 -0400
commit068ffd04a6e2f919c9e421f8a13f230404437271 (patch)
tree59efab9d9ff2972e301e2fe5c3354051c5ede7ea
parenta250224c664bbc28a6d68d72ed11701e8cf9e82e (diff)
parent2129bbe160278f7cd2cece939f81900a41f8aa86 (diff)
Merge pull request #919 from adafruit/jerryneedell-patch-2
fix #918
-rw-r--r--ports/esp8266/common-hal/pulseio/PulseIn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/esp8266/common-hal/pulseio/PulseIn.c b/ports/esp8266/common-hal/pulseio/PulseIn.c
index 783442b35..5930daab2 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 false;
+}
+
uint16_t common_hal_pulseio_pulsein_get_len(pulseio_pulsein_obj_t* self) {
return 0;
}