KonstantinKondrashov 32ec2750e0 esp_timer: Fix set_alarm. Case when timestamp < now_time
arg1 = MAX(int64_t arg1, uint64_t arg2) gave the wrong result, if arg1 < 0, it was presented as a larger value.
And ALARM_REG = (uin32_t)arg1. This leads to an infinite loop.
Fixed: both args are int64_t.

Closes: WIFI-1511
2019-12-12 14:43:44 +08:00
..
2018-08-20 16:49:20 +08:00
2019-03-05 12:11:45 +08:00
2016-08-17 23:08:22 +08:00
2019-04-02 12:54:08 +11:00