commit: cc4b14511416485e04233349abe6079b39ce1c62
parent d6df4b00090fbb2e3caf8a8ff6e788309275a94c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 27 Oct 2020 10:13:33 +0100
battery_*.c: Add padding
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/C/battery_back.c b/C/battery_back.c
@@ -22,5 +22,8 @@ main(void)
for(int t = 0;t<1600;t++)putchar( t++*2 );
for(int t = 0;t<2000;t++)putchar( t++*3 );
+ // Padding to make it 2s long
+ for(int t = 0;t<2800;t++)putchar( 0 );
+
return 0;
}
diff --git a/C/battery_low.c b/C/battery_low.c
@@ -22,5 +22,8 @@ main(void)
for(int t = 0;t<1600;t++)putchar( t++*3 );
for(int t = 0;t<2000;t++)putchar( t++*2 );
+ // Padding to make it 2s long
+ for(int t = 0;t<2800;t++)putchar( 0 );
+
return 0;
}