- commit
- c573931
- parent
- a47b19f
- author
- Neale Pickett
- date
- 2024-01-22 16:21:58 -0700 MST
kludge for musl
1 files changed,
+3,
-0
M
baud.c
M
baud.c
+3,
-0
1@@ -55,6 +55,9 @@ main(int argc, char *argv[]) {
2 noiselen = atoi(argv[3]);
3 }
4
5+ // In musl, the first value is 0
6+ rand();
7+
8 int cps = baud / 10; // 8N1 has 10 bits per octet: 8 data, 1 start, 1 parity
9 int delay = SECOND / cps;
10 int noisybits = 0;