IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 18, 2007, 11:12:42 AM (19 years ago)
Author:
eugene
Message:

FT_UNSIGN_MODE removed as global symbol and functionality replaced with gfits_set/get_unsign_mode

Location:
trunk/Ohana/src/opihi/cmd.data
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/rd.c

    r7917 r12902  
    236236
    237237  /** now - convert the matrix values to floats for internal use **/
    238   gfits_convert_format (&buf[0].header, &buf[0].matrix, -32, 1.0, 0.0, FT_UNSIGN_MODE);
     238  gfits_convert_format (&buf[0].header, &buf[0].matrix, -32, 1.0, 0.0, gfits_get_unsign_mode());
    239239 
    240240  return (TRUE);
  • trunk/Ohana/src/opihi/cmd.data/rdseg.c

    r7917 r12902  
    6666
    6767  /** now - convert the matrix values to floats for internal use **/
    68   gfits_convert_format (&buf[0].header, &buf[0].matrix, -32, 1.0, 0.0, FT_UNSIGN_MODE);
     68  gfits_convert_format (&buf[0].header, &buf[0].matrix, -32, 1.0, 0.0, gfits_get_unsign_mode());
    6969 
    7070  return (TRUE);
  • trunk/Ohana/src/opihi/cmd.data/unsign.c

    r7917 r12902  
    44 
    55  if (argc == 1) {
    6     if (FT_UNSIGN_MODE)
     6    if (gfits_get_unsign_mode())
    77      gprint (GP_ERR, "mode is now UNSIGNED int \n");
    88    else
     
    1313  if (argc == 2) {
    1414    if (!strcmp (argv[1], "1")) {
    15       FT_UNSIGN_MODE = TRUE;
     15      gfits_set_unsign_mode (TRUE);
    1616      set_int_variable ("UNSIGN", 1);
    1717      return (TRUE);
    1818    }
    1919    if (!strcmp (argv[1], "0")) {
    20       FT_UNSIGN_MODE = FALSE;
     20      gfits_set_unsign_mode (FALSE);
    2121      set_int_variable ("UNSIGN", 0);
    2222      return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.