mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-29 12:32:54 +00:00
remove unncessary comparison as suggested by #355
This commit is contained in:
parent
9314412306
commit
d8e47b18fa
@ -149,7 +149,7 @@ void posix_execute(void) {
|
||||
next_tv.tv_usec += 1000000;
|
||||
next_tv.tv_sec--;
|
||||
}
|
||||
if (next_tv.tv_sec < 0 || (next_tv.tv_sec == 0 && next_tv.tv_usec < 0)){
|
||||
if (next_tv.tv_sec < 0){
|
||||
next_tv.tv_sec = 0;
|
||||
next_tv.tv_usec = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user