libraries/RF24/utility/SPIDEV/compatibility.cpp
void __msleep(int milisec)
{
    struct timespec req;// = {0};
    req.tv_sec = (time_t) milisec / 1000;
    req.tv_nsec = (milisec % 1000) * 1000000L;
    //nanosleep(&req, (struct timespec *)NULL);
    clock_nanosleep(CLOCK_REALTIME, 0, &req, NULL);
}
/**********************************************************************/
/**
 * This function is added in order to simulate arduino delay() function
 * @param milisec
 */
This function is added in order to simulate arduino delay() function
@param milisec
This function is added in order to simulate arduino delay () function @param milisec
void __msleep(int milisec)
{
    struct timespec req;
    req.tv_sec = (time_t) milisec / 1000;
    req.tv_nsec = (milisec % 1000) * 1000000L;
    clock_nanosleep(CLOCK_REALTIME, 0, &req, NULL);
}
void __msleep ( int milisec ) { struct timespec req ; req . tv_sec = ( time_t ) milisec / 1000 ; req . tv_nsec = ( milisec % 1000 ) * 1000000L ; clock_nanosleep ( CLOCK_REALTIME , 0 , & req , NULL ) ; }
This function is added in order to simulate arduino delay() function
 @param milisec
This function is added in order to simulate arduino delay () function @param milisec
// = {0}; //nanosleep(&req, (struct timespec *)NULL);