diff options
| author | dario-loi <77234595+dario-loi@users.noreply.github.com> | 2024-11-24 14:46:27 +0100 |
|---|---|---|
| committer | dario-loi <loi.1940849@studenti.uniroma1.it> | 2024-11-24 18:38:21 +0100 |
| commit | 8183b19a87f7b6be35bceef11ace399d876d158b (patch) | |
| tree | a56c6368ff4f8dda180abca577c70b54079afc6c /example/red.c | |
| parent | 76a7cf28f44820d1db2e02980201657186190d43 (diff) | |
| parent | 0898b3d26129f3880223d0d457fe05fd3f6be180 (diff) | |
Merge branch 'lvntky:master' into master
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; } |
