diff options
| author | Levent Kaya <42411502+lvntky@users.noreply.github.com> | 2024-11-24 21:17:01 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-24 21:17:01 +0300 |
| commit | 766962f9970cc3d8ee5b49c8bc987fe14c9eda7c (patch) | |
| tree | 7a6b8abc927b0ef832d677fd80aa255ca7dd0951 /example/red.c | |
| parent | 0898b3d26129f3880223d0d457fe05fd3f6be180 (diff) | |
| parent | f795c9d0bc73dca2cabb36c1889dc99422549def (diff) | |
Merge pull request #6 from dario-loi/master
[FIX] Move all implementation under include guard
Diffstat (limited to 'example/red.c')
| -rw-r--r-- | example/red.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/example/red.c b/example/red.c index 274bc31..7f64dbd 100644 --- a/example/red.c +++ b/example/red.c @@ -4,10 +4,11 @@ int main(int argc, char *argv[]) { - fbgl_t fb; - fbgl_init("/dev/fb0", &fb); - fbgl_set_bg(&fb, 0xFF0000); - while(1){} - - return 0; + fbgl_t fb; + fbgl_init("/dev/fb0", &fb); + fbgl_set_bg(&fb, 0xFF0000); + while (1) { + } + + return 0; } |
