diff options
| author | Levent Kaya <42411502+lvntky@users.noreply.github.com> | 2024-11-28 01:01:46 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-28 01:01:46 +0300 |
| commit | 8b25ef20ab3ffa29238f8b4bb2c6c0b7ec886caa (patch) | |
| tree | 84f143235b5e1e6f1d9d06764ac35addd4b97f5e /examples/circle.c | |
| parent | eff7f86c4b81e804b13c5606fcc73a6dbfa58677 (diff) | |
| parent | 528209831fc8f188df895acae83174bb81996c96 (diff) | |
Merge pull request #12 from dario-loi/master
Code quality and warning removal
Diffstat (limited to 'examples/circle.c')
| -rw-r--r-- | examples/circle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/circle.c b/examples/circle.c index 40ad800..8a69f78 100644 --- a/examples/circle.c +++ b/examples/circle.c @@ -22,7 +22,7 @@ int main(void) &buffer); i = (i + 1) % 360; fbgl_draw_circle_filled(480, 540, 40, 0xFFFFFF, &buffer); - usleep(10000); + nanosleep((struct timespec[]){ { 0, 10000000 } }, NULL); } while (1) { |
