mirror of
https://github.com/espressif/openthread.git
synced 2026-10-11 10:17:35 +00:00
[spi-hdlc-adapter] add cast to unsigned int on call to usleep (#3994)
This commit is contained in:
@@ -1826,7 +1826,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
trigger_reset();
|
||||
|
||||
usleep(sSpiResetDelay * USEC_PER_MSEC);
|
||||
usleep((useconds_t)sSpiResetDelay * USEC_PER_MSEC);
|
||||
|
||||
// ========================================================================
|
||||
// MAIN LOOP
|
||||
|
||||
Reference in New Issue
Block a user