Browse Source

Change formating script

tags/lab03.2
Arti Zirk 2 years ago
parent
commit
f4c572a2e6
2 changed files with 2 additions and 3 deletions
  1. 1
    0
      src/main.c
  2. 1
    3
      tooling/format-code.sh

+ 1
- 0
src/main.c View File

@@ -58,6 +58,7 @@ int main (void)
58 58
                 lcd_putc(' ');
59 59
             }
60 60
         }
61
+
61 62
         lcd_puts_P(PSTR("                ")); /* Clear the end of the line */
62 63
         lcd_goto(0x40); /* Got to the beginning of the next line */
63 64
 

+ 1
- 3
tooling/format-code.sh View File

@@ -13,15 +13,13 @@ then
13 13
     exit 1
14 14
 fi
15 15
 
16
-# 
16
+#
17 17
 for FILE in "$@"
18 18
 do
19 19
     RESULT="$(astyle    --style=1tbs \
20 20
                         --indent-col1-comments \
21
-                        --break-blocks \
22 21
                         --pad-oper \
23 22
                         --pad-header \
24
-                        --delete-empty-lines \
25 23
                         --add-brackets \
26 24
                         --convert-tabs \
27 25
                         --max-code-length=80 \

Loading…
Cancel
Save