sensors/IMU3000.h
/**
     * flip endianness of 3 uint16_t in a row
     *
     * needed for gyro data.
     * @param data
     */
flip endianness of 3 uint16_t in a row
needed for gyro data.
@param data
flip endianness of 3 uint16_t in a row needed for gyro data . @param data
static void flip3HW(uint8_t *data) {
        for (int i = 0; i < 3; ++i) {
            ((int16_t *)data)[i] = data[2*i] << 8 | data[2*i+1];
        }
    }
static void flip3HW ( uint8_t * data ) { for ( int i = 0 ; i < 3 ; ++ i ) { ( ( int16_t * ) data ) [ i ] = data [ 2 * i ] << 8 | data [ 2 * i + 1 ] ; } }
flip endianness of 3 uint16_t in a row
 needed for gyro data.
flip endianness of 3 uint16_t in a row needed for gyro data .