Changeset 9958 in ntrip for trunk/BNC/src/test_serial.cpp


Ignore:
Timestamp:
Jan 25, 2023, 2:47:29 PM (13 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/test_serial.cpp

    r9957 r9958  
    33#include <unistd.h>
    44#else
    5 #include <Windows.h>
     5#include <windows.h>
    66#endif
    77#include <stdio.h>
     
    2222    int nb = fread(msg, sizeof(msg), 1, fp);
    2323    printf("read %d\n", nb);
    24     sleep(1);
     24#ifndef WIN32
     25  sleep(1);
     26#else
     27  Sleep(1000);
     28#endif
    2529  }
    2630
Note: See TracChangeset for help on using the changeset viewer.