diff options
author | Erich Eckner <git@eckner.net> | 2018-10-22 12:32:06 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-22 12:32:06 +0200 |
commit | 9cbc55a81c76dd3bfb480b9f280f9958ce6ef592 (patch) | |
tree | 9546d2f2a246b5a0eec14aa6a9a5779d4b835c88 /anzeige.c | |
parent | 697fa673161512fe3affba27c08d0bdbf86f1374 (diff) | |
download | anzeige-9cbc55a81c76dd3bfb480b9f280f9958ce6ef592.tar.xz |
anzeige.c: unify loop (for now)
Diffstat (limited to 'anzeige.c')
-rw-r--r-- | anzeige.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -194,15 +194,14 @@ void *put_on_display(void *param) printf("=\n"); #endif display_data -> is_buf = display_data -> should_buf; + for (line=0; line<7; line++) { #ifdef SKIP_GPIO - for (line=6; line>=0; line--) { for (column=0; column<40; column++) { if ((*(display_data -> buf[display_data -> is_buf] + column)>>line) & 0x01) printf("X"); else printf("."); #else - for (line=0; line<7; line++) { GPIO_CLR = 1<<GATE_PIN; // Licht an for (column=0; column<8; column++) { GPIO_CLR = 1<<SER_CLK_PIN; |