mirror of
https://github.com/jeelabs/esp-link.git
synced 2026-03-24 09:56:52 +01:00
Use microsecond timer for heap use as the timer is in microsecond mode
This commit is contained in:
@@ -143,7 +143,7 @@ void user_init(void) {
|
||||
#ifdef SHOW_HEAP_USE
|
||||
os_timer_disarm(&prHeapTimer);
|
||||
os_timer_setfn(&prHeapTimer, prHeapTimerCb, NULL);
|
||||
os_timer_arm(&prHeapTimer, 10000, 1);
|
||||
os_timer_arm_us(&prHeapTimer, 10 * 1000000, 1);
|
||||
#endif
|
||||
|
||||
struct rst_info *rst_info = system_get_rst_info();
|
||||
|
||||
Reference in New Issue
Block a user