Skip to content

Commit 5724fd7

Browse files
authored
fix #918
Add stub for common_hal_pulseio_pulsein_get_paused to make ESP8266 build compatible with PR #901
1 parent b2d98ed commit 5724fd7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ports/esp8266/common-hal/pulseio/PulseIn.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ uint16_t common_hal_pulseio_pulsein_get_maxlen(pulseio_pulsein_obj_t* self) {
6262
return 0;
6363
}
6464

65+
bool common_hal_pulseio_pulsein_get_paused(pulseio_pulsein_obj_t* self) {
66+
return true;
67+
}
68+
6569
uint16_t common_hal_pulseio_pulsein_get_len(pulseio_pulsein_obj_t* self) {
6670
return 0;
6771
}

0 commit comments

Comments
 (0)