diff options
| author | hathach <thach@tinyusb.org> | 2019-01-09 15:43:54 +0700 |
|---|---|---|
| committer | hathach <thach@tinyusb.org> | 2019-01-09 15:43:54 +0700 |
| commit | cfc4c8cbfa8c6f197aaa3da3e78cfdcced06619a (patch) | |
| tree | b02f5d4da88e49264a0a303d0649d87ef8a2e017 | |
| parent | db82160eefa620d889d4e9df9b04bb476b103951 (diff) | |
minor clean up
| -rw-r--r-- | ports/nrf/common-hal/pulseio/PulseIn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/nrf/common-hal/pulseio/PulseIn.h b/ports/nrf/common-hal/pulseio/PulseIn.h index 432506418..4b2c6eee3 100644 --- a/ports/nrf/common-hal/pulseio/PulseIn.h +++ b/ports/nrf/common-hal/pulseio/PulseIn.h @@ -37,13 +37,13 @@ typedef struct { uint8_t pin; bool idle_state; bool paused; + volatile bool first_edge; uint16_t* buffer; uint16_t maxlen; volatile uint16_t start; volatile uint16_t len; - volatile bool first_edge; volatile uint16_t last_us; volatile uint64_t last_ms; } pulseio_pulsein_obj_t; |
