ESP32Ping icon indicating copy to clipboard operation
ESP32Ping copied to clipboard

esp_yield() and esp_schedule()

Open adynis opened this issue 4 years ago • 4 comments

Until now, these functions existed in the code but were not used, because:

// Let's go!
if (ping_start(&_options)) {
    return true;
    // Suspend till the process end
    esp_yield();
}
return (_success > 0);

ping_start(....) is immediately returning, so if true, then it returns before running esp_yield() and if false, then esp_yield() is not triggered.

and

esp_schedule() was in the callback function which (as mentioned in issue #6 ) was never called.

Since we have issues: #6, #8 , #9 , how should : esp_yield() and esp_schedule() be treated ?

PS. I have no proposal here, since I am not familiar with these 2. I'm not sure about their functionality.

adynis avatar Mar 14 '20 00:03 adynis

The scrollbars are drawn by the OS, and I think you may have the setting "Show scrollbars" set to always in the "General" preferences of macOS. Can you switch it to "Automatically based on mouse / trackpad" and tell me if you still see the scrollbars ?

ptbrowne avatar Nov 15 '22 13:11 ptbrowne

I have them set on Automatically based on mouse and trackpad, and that what I see (Screenshot above). But no worries, its a minor detail

AnninaWalker avatar Nov 15 '22 13:11 AnninaWalker