EtchedPixels / FUZIX

FuzixOS: Because Small Is Beautiful
Other
2.13k stars 267 forks source link

sleep() and usleep() don't work at all, at least on my raspberry pi pico #1039

Closed duckyondiscord closed 7 months ago

duckyondiscord commented 7 months ago

It's possible I did something wrong here, if so, I'm sorry for wasting your time.

In my testing, neither usleep() nor sleep() work, both of them just sleep forever no matter the argument.

duckyondiscord commented 7 months ago

I'll add the code I used to test it here:

#include <stdio.h>
#include <unistd.h>

int main()
{
    printf("o/\n");
    usleep(5);
    printf("What's up?\n");
}
duckyondiscord commented 7 months ago

Nothing too complicated

duckyondiscord commented 7 months ago

I'll close this as it magically started working after a few recompiles, weird..

EtchedPixels commented 7 months ago

If it comes back do open a bug. That's a bit weird