minor clean up

This commit is contained in:
hathach 2019-01-09 15:43:54 +07:00
parent db82160eef
commit cfc4c8cbfa
No known key found for this signature in database
GPG Key ID: 2FA891220FBFD581

View File

@ -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;