minor clean up
This commit is contained in:
parent
db82160eef
commit
cfc4c8cbfa
@ -37,13 +37,13 @@ typedef struct {
|
|||||||
uint8_t pin;
|
uint8_t pin;
|
||||||
bool idle_state;
|
bool idle_state;
|
||||||
bool paused;
|
bool paused;
|
||||||
|
volatile bool first_edge;
|
||||||
|
|
||||||
uint16_t* buffer;
|
uint16_t* buffer;
|
||||||
uint16_t maxlen;
|
uint16_t maxlen;
|
||||||
|
|
||||||
volatile uint16_t start;
|
volatile uint16_t start;
|
||||||
volatile uint16_t len;
|
volatile uint16_t len;
|
||||||
volatile bool first_edge;
|
|
||||||
volatile uint16_t last_us;
|
volatile uint16_t last_us;
|
||||||
volatile uint64_t last_ms;
|
volatile uint64_t last_ms;
|
||||||
} pulseio_pulsein_obj_t;
|
} pulseio_pulsein_obj_t;
|
||||||
|
Loading…
Reference in New Issue
Block a user