IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 8, 2023, 12:17:35 PM (3 years ago)
Author:
eugene
Message:

merge from eam_branches/ipp-20220316. fixes for more pendantic gcc; add opihi memory stats; string vector improvements; use named macros for fixed string lengths

Location:
trunk/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/opihi/dvo/coordmosaic.c

    r39233 r42389  
    311311     
    312312      memset (segment, 0, 16); memcpy  (segment, &SEGMENT[i*Nsegment], 4);
    313       snprintf (name, 16, "%s_L_CX%dY%d", segment, XORDER[i], YORDER[i]);
     313      snprintf_nowarn (name, 16, "%s_L_CX%dY%d", segment, XORDER[i], YORDER[i]);
    314314      double xvalue = get_double_variable (name, &found);
    315315      xmask = !found;
    316316     
    317317      memset (segment, 0, 16); memcpy  (segment, &SEGMENT[i*Nsegment], 4);
    318       snprintf (name, 16, "%s_M_CX%dY%d", segment, XORDER[i], YORDER[i]);
     318      snprintf_nowarn (name, 16, "%s_M_CX%dY%d", segment, XORDER[i], YORDER[i]);
    319319      double yvalue = get_double_variable (name, &found);
    320320      ymask = !found;
     
    437437
    438438        int found, xmask, ymask;
    439         snprintf (name, 16, "L_X%dY%d", ix, iy);
     439        snprintf_nowarn (name, 16, "L_X%dY%d", ix, iy);
    440440        double xvalue = get_double_variable (name, &found);
    441441        xmask = !found;
    442442
    443         snprintf (name, 16, "M_X%dY%d", ix, iy);
     443        snprintf_nowarn (name, 16, "M_X%dY%d", ix, iy);
    444444        double yvalue = get_double_variable (name, &found);
    445445        ymask = !found;
Note: See TracChangeset for help on using the changeset viewer.