8000 Prevent freezing USB during high frequency PulseIn. by tannewt · Pull Request #901 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

Prevent freezing USB during high frequency PulseIn. 8000 #901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 8, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Stub out get_paused in nrf builds.
  • Loading branch information
tannewt committed Jun 8, 2018
commit 8195df1b550522e4da32319d73b88702f638d6fe
4 changes: 4 additions & 0 deletions ports/nrf/common-hal/pulseio/PulseIn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
0