summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--anzeige.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/anzeige.c b/anzeige.c
index 55c234a..b08d4d6 100644
--- a/anzeige.c
+++ b/anzeige.c
@@ -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;