src/cpp-sensor-module/MGMS-Sensor-Module/AnalogSensors.cpp
static int CompareFloat(const void* a, const void* b)
{
    if ( *(float*)a <  *(float*)b ) return -1 ;
    if ( *(float*)a == *(float*)b ) return 0 ;
    if ( *(float*)a >  *(float*)b ) return 1 ;
}
///////////////////////////////////////////////////////////////////////////////
// Necessary for qsort to work. Compares the values for 2 float values
Necessary for qsort to work. Compares the values for 2 float values
Necessary for qsort to work . Compares the values for 2 float values
static int CompareFloat(const void* a, const void* b)
{
    if ( *(float*)a <  *(float*)b ) return -1 ;
    if ( *(float*)a == *(float*)b ) return 0 ;
    if ( *(float*)a >  *(float*)b ) return 1 ;
}
static int CompareFloat ( const void * a , const void * b ) { if ( * ( float * ) a < * ( float * ) b ) return -1 ; if ( * ( float * ) a == * ( float * ) b ) return 0 ; if ( * ( float * ) a > * ( float * ) b ) return 1 ; }
Necessary for qsort to work.
Necessary for qsort to work .