FreeCalypso > hg > ice1-trau-tester
comparison ater/dbits.c @ 49:40f781efdbe1
ater: beginning of D144 mode
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 24 Sep 2024 05:59:28 +0000 |
parents | 349fb785a414 |
children |
comparison
equal
deleted
inserted
replaced
48:3cc26391d24d | 49:40f781efdbe1 |
---|---|
39 } | 39 } |
40 if (!at->is_data) { | 40 if (!at->is_data) { |
41 fprintf(stderr, "error: subslot %d is not in data mode\n", nr); | 41 fprintf(stderr, "error: subslot %d is not in data mode\n", nr); |
42 return; | 42 return; |
43 } | 43 } |
44 if (at->is_data_144) { | |
45 fprintf(stderr, "error: subslot %d is in D144 mode\n", nr); | |
46 return; | |
47 } | |
44 fr = &at->ul_frame; | 48 fr = &at->ul_frame; |
45 d_offset = atoi(argv[2]); | 49 d_offset = atoi(argv[2]); |
46 if (d_offset >= 252) { | 50 if (d_offset >= 252) { |
47 fprintf(stderr, "error: specified offset is out of range\n"); | 51 fprintf(stderr, "error: specified offset is out of range\n"); |
48 return; | 52 return; |