drivers: serial: nrfx: refactor for atomic_t as long
This driver aliases a regular `int` to `atomic_t` but that should be updated to `long` with the change to `atomic_t`. Added a comment to highlight that the variable was aliased. Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
This commit is contained in:
parent
3e86c627f7
commit
7c6039a1d2
1 changed files with 2 additions and 1 deletions
|
@ -79,7 +79,8 @@ static struct {
|
|||
|
||||
bool tx_abort;
|
||||
const uint8_t *volatile tx_buffer;
|
||||
size_t tx_buffer_length;
|
||||
/* note: this is aliased with atomic_t in uart_nrfx_poll_out() */
|
||||
unsigned long tx_buffer_length;
|
||||
volatile size_t tx_counter;
|
||||
#if HW_FLOW_CONTROL_AVAILABLE
|
||||
int32_t tx_timeout;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue