Skip to content

Commit 55dc1fd

Browse files
committed
Deleted constant in calculate interrupt timing.
1 parent 1479d07 commit 55dc1fd

File tree

1 file changed

+1
-1
lines changed
  • libraries/mbed/targets/hal/TARGET_WIZNET/TARGET_W7500x

1 file changed

+1
-1
lines changed

libraries/mbed/targets/hal/TARGET_WIZNET/TARGET_W7500x/us_ticker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ void us_ticker_set_interrupt(timestamp_t timestamp)
9191
us_ticker_init();
9292
}
9393

94-
dev = (int32_t)(timestamp - (us_ticker_read() + 160));
94+
dev = (int32_t)(timestamp - us_ticker_read());
9595
dev = dev * ((GetSystemClock() / 1000000) / 16);
9696

9797
if(dev <= 0)

0 commit comments

Comments
 (0)