Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions indigo_drivers/aux_joystick/indigo_aux_joystick.c
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,7 @@ static void *poll(indigo_device *device) {
}
}
INDIGO_DRIVER_LOG(DRIVER_NAME, "Joystick #%ld poll thread finished", index);
return NULL;
}

static void rescan() {
Expand Down
4 changes: 0 additions & 4 deletions indigo_drivers/ccd_sbig/indigo_ccd_sbig.c
Original file line number Diff line number Diff line change
Expand Up @@ -2304,8 +2304,6 @@ static bool plug_wheel(indigo_device *device, CFWResults cfwr) {

static void unplug_wheel(char *master_name, int fw_model) {
int i;
sbig_private_data *pds[MAX_USB_DEVICES] = {NULL};

for(i = 0; i < MAX_DEVICES; i++) {
indigo_device *device = devices[i];
if (device == NULL) {
Expand All @@ -2329,8 +2327,6 @@ static void unplug_wheel(char *master_name, int fw_model) {

static void unplug_ao(char *master_name) {
int i;
sbig_private_data *pds[MAX_USB_DEVICES] = {NULL};

for(i = 0; i < MAX_DEVICES; i++) {
indigo_device *device = devices[i];
if (device == NULL) {
Expand Down
2 changes: 0 additions & 2 deletions indigo_drivers/mount_lx200/indigo_mount_lx200.c
Original file line number Diff line number Diff line change
Expand Up @@ -3749,8 +3749,6 @@ static void onstep_aux_connect(indigo_device *device) {
*comma++ = '\0';
char *name = response;
onstep_aux_device_purpose purpose = *comma - '0';
char property_name[32];
indigo_property *aux_property = NULL;
if (purpose == ONSTEP_AUX_ANALOG) {
INDIGO_DRIVER_DEBUG(DRIVER_NAME, "Onstep AUX Heater Outlet at slot %d with name %s", i + 1, name);
ONSTEP_AUX_HEATER_OUTLET_MAPPING[ONSTEP_AUX_HEATER_OUTLET_COUNT] = i + 1;
Expand Down
2 changes: 2 additions & 0 deletions indigo_drivers/mount_synscan/indigo_mount_synscan_mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,8 @@ static int mount_guide_rate_percent(enum GuideRate rate) {
case kGuideRate_x1_00:
return 100;
}
return 0; //fallback should probably never be reached

}

void mount_handle_st4_guiding_rate(indigo_device *device) {
Expand Down
1 change: 0 additions & 1 deletion indigo_linux_drivers/aux_asiair/indigo_aux_asiair.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,6 @@ bool asiair_export_all(bool use_pwm) {
}

bool asiair_unexport_all(bool use_pwm) {
int first = 0;
if (use_pwm) {
if (!asiair_pwm_unexport(0)) return false;
if (!asiair_pwm_unexport(1)) return false;
Expand Down
1 change: 0 additions & 1 deletion indigo_server/indigo_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -1898,7 +1898,6 @@ int main(int argc, const char * argv[]) {
char *server_string = strstr(server_argv[0], "indigo_server");
if (server_string) {
static char process_name[] = "indigo_worker";
int len = strlen(server_argv[0]);
strcpy(server_string, process_name);
prctl(PR_SET_PDEATHSIG, SIGINT, 0, 0, 0);
/* Linux requires additional step to change process name */
Expand Down
4 changes: 3 additions & 1 deletion indigo_tools/indigo_raw_to_fits.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ int main(int argc, char *argv[]) {
fprintf(stderr, "Can not save '%s': %s\n", outfile_name, strerror(errno));
failed++;
} else {
not_quiet && printf("Converted '%s' -> '%s'\n", infile_name, outfile_name);
if (not_quiet) {
printf("Converted '%s' -> '%s'\n", infile_name, outfile_name);
}
succeeded++;
}
if (in_data) free(in_data);
Expand Down