kopia lustrzana https://github.com/fsphil/hadie
Prevent rtx_wait() returning when txlen is being updated (non atomic)
rodzic
a0398932be
commit
eb2cce95bd
1
rtty.c
1
rtty.c
|
@ -69,6 +69,7 @@ void inline rtx_wait()
|
||||||
{
|
{
|
||||||
/* Wait for interrupt driven TX to finish */
|
/* Wait for interrupt driven TX to finish */
|
||||||
while(txlen > 0);
|
while(txlen > 0);
|
||||||
|
while(txlen > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void rtx_data(uint8_t *data, size_t length)
|
void rtx_data(uint8_t *data, size_t length)
|
||||||
|
|
Ładowanie…
Reference in New Issue