summaryrefslogtreecommitdiff
path: root/example/red.c
diff options
context:
space:
mode:
authordario-loi <77234595+dario-loi@users.noreply.github.com>2024-11-24 14:46:27 +0100
committerdario-loi <loi.1940849@studenti.uniroma1.it>2024-11-24 18:38:21 +0100
commit8183b19a87f7b6be35bceef11ace399d876d158b (patch)
treea56c6368ff4f8dda180abca577c70b54079afc6c /example/red.c
parent76a7cf28f44820d1db2e02980201657186190d43 (diff)
parent0898b3d26129f3880223d0d457fe05fd3f6be180 (diff)
Merge branch 'lvntky:master' into master
Diffstat (limited to 'example/red.c')
-rw-r--r--example/red.c13
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;
}