diff options
| author | jerryneedell <jerryneedell@gmail.com> | 2018-06-10 05:59:20 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-10 05:59:20 -0400 |
| commit | 5724fd795ada17a62cea06fb1da69db9acf20550 (patch) | |
| tree | ec44df27def1b3c2eecc9336b37a60d6a221c452 | |
| parent | b2d98edb4ed99efabd862e540613e4ac8550b50d (diff) | |
fix #918
Add stub for common_hal_pulseio_pulsein_get_paused to make ESP8266 build compatible with PR #901
| -rw-r--r-- | ports/esp8266/common-hal/pulseio/PulseIn.c | 4 |
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..eb6fb7baa 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; } |
