IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 14, 2005, 10:33:53 AM (21 years ago)
Author:
eugene
Message:

cleanup up communications for speed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/controller_status.c

    r4706 r4763  
    2222  InitIOBuffer (&buffer, 0x100);
    2323  status = ControllerCommand (command, CONTROLLER_PROMPT, &buffer);
    24   if (status) fwrite (buffer.buffer, 1, buffer.Nbuffer, stderr);
     24  if (status) {
     25    fwrite (buffer.buffer, 1, buffer.Nbuffer, stderr);
     26  } else {
     27    fprintf (stderr, "controller is down\n");
     28  }
    2529  FreeIOBuffer (&buffer);
    2630  return (TRUE);
    27 
    2831}
Note: See TracChangeset for help on using the changeset viewer.