diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2018-06-08 14:01:54 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2018-06-08 14:01:54 -0700 |
| commit | 8195df1b550522e4da32319d73b88702f638d6fe (patch) | |
| tree | 234450fdafa6a54471c90fd9e0750bf49e9e8fc3 /ports | |
| parent | 66b79723b6d238f93908a029ed7a1c4619842b52 (diff) | |
Stub out get_paused in nrf builds.
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/nrf/common-hal/pulseio/PulseIn.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/nrf/common-hal/pulseio/PulseIn.c b/ports/nrf/common-hal/pulseio/PulseIn.c index aa6bb8665..e759ac3a3 100644 --- a/ports/nrf/common-hal/pulseio/PulseIn.c +++ b/ports/nrf/common-hal/pulseio/PulseIn.c @@ -71,6 +71,10 @@ uint16_t common_hal_pulseio_pulsein_get_maxlen(pulseio_pulsein_obj_t* self) { return 0xadaf; } +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 0xadaf; } |
