Merge pull request #1677 from gereta/patch-1

Update skywatcher.c
pull/1680/head
Michael Black 2025-03-08 06:48:01 -06:00 zatwierdzone przez GitHub
commit 73a2f2fa46
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 0 dodań i 9 usunięć

Wyświetl plik

@ -67,15 +67,6 @@ static int skywatcher_cmd(ROT *rot, const char *cmd, char *response,
return -code;
}
// the actual response
code = read_string(port, (unsigned char *) response, response_len, "\r", 1, 0,
1);
if (code < 0)
{
return -code;
}
// nullify last \r
response[strlen(response) - 1] = '\0';