diff options
| author | g8bpq <john.wiseman@cantab.net> | 2022-11-14 14:02:28 +0000 |
|---|---|---|
| committer | g8bpq <john.wiseman@cantab.net> | 2022-11-14 14:02:28 +0000 |
| commit | f4bc43f75d0ee3bea207e99f745fb5585b192f48 (patch) | |
| tree | 35b0fe081e832b475b9c9f7f7bee2615567aca9e /ConfigSDR.c | |
| parent | e3db09d2557584d2026b8801d972390507269714 (diff) | |
6.0.23.26
Diffstat (limited to 'ConfigSDR.c')
| -rw-r--r-- | ConfigSDR.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ConfigSDR.c b/ConfigSDR.c index 26d3bd4..5434aac 100644 --- a/ConfigSDR.c +++ b/ConfigSDR.c @@ -143,33 +143,43 @@ void main(int argc, char * argv[]) {
if (ptr = strstr(line, "CABLE-A"))
{
+ printf(line);
*ptr = 0;
sprintf(index, "%d\r\n", IndexA);
strcat(line, index);
+ printf(line);
}
if (ptr = strstr(line, "CABLE-B"))
{
+ printf(line);
*ptr = 0;
sprintf(index, "%d\r\n", IndexB);
strcat(line, index);
+ printf(line);
}
if (ptr = strstr(line, "CABLE-C"))
{
+ printf(line);
*ptr = 0;
sprintf(index, "%d\r\n", IndexC);
strcat(line, index);
+ printf(line);
}
if (ptr = strstr(line, "CABLE-D"))
{
+ printf(line);
*ptr = 0;
sprintf(index, "%d\r\n", IndexD);
strcat(line, index);
+ printf(line);
}
if (ptr = strstr(line, "SPEAKERS"))
{
+ printf(line);
*ptr = 0;
sprintf(index, "%d\r\n", SPEAKERS);
strcat(line, index);
+ printf(line);
}
fprintf(file, line);
|
