Add stub for common_hal_pulseio_pulsein_get_paused  to make ESP8266 build compatible with PR #901
This commit is contained in:
jerryneedell 2018-06-10 05:59:20 -04:00 committed by GitHub
parent b2d98edb4e
commit 5724fd795a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}