IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 11, 2005, 10:37:51 AM (21 years ago)
Author:
eugene
Message:

moved kapa/kii communications to use SendGraphCommand functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.astro/gauss.c

    r2843 r3693  
    5151
    5252  fcntl (Ximage, F_SETFL, !O_NONBLOCK); 
    53   write (Ximage, "CURS", 4); /* ask Ximage to look for the keystrokes */
     53  SendGraphCommand (Ximage, 4, "CURS");
    5454 
    5555  for (i = 0; (i < Nspot) || (Nspot == 0); i++) {
     
    6464   
    6565  }
    66   write (Ximage, "NCUR", 4); /* tell Ximage "end of keystrokes" */
     66  SendGraphCommand (Ximage, 4, "NCUR");
     67
    6768  return (TRUE);
    6869}
Note: See TracChangeset for help on using the changeset viewer.