Skip to content

Commit 8195df1

Browse files
committed
Stub out get_paused in nrf builds.
1 parent 66b7972 commit 8195df1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ uint16_t common_hal_pulseio_pulsein_get_maxlen(pulseio_pulsein_obj_t* self) {
7171
return 0xadaf;
7272
}
7373

74+
bool common_hal_pulseio_pulsein_get_paused(pulseio_pulsein_obj_t* self) {
75+
return true;
76+
}
77+
7478
uint16_t common_hal_pulseio_pulsein_get_len(pulseio_pulsein_obj_t* self) {
7579
return 0xadaf;
7680
}

0 commit comments

Comments
 (0)