Searched refs:CHARS_TO_SHORT (Results 1 – 1 of 1) sorted by relevance
143 #define CHARS_TO_SHORT(d) ((((short)(d)[0])<<8)+(d)[1]) macro420 packet_count = CHARS_TO_SHORT(dataout) / 6; in inv_test_gyro_3050()431 x[total_count + i] = CHARS_TO_SHORT(&dataout[0]); in inv_test_gyro_3050()432 y[total_count + i] = CHARS_TO_SHORT(&dataout[2]); in inv_test_gyro_3050()433 z[total_count + i] = CHARS_TO_SHORT(&dataout[4]); in inv_test_gyro_3050()461 temperature += (short)CHARS_TO_SHORT(dataout); in inv_test_gyro_3050()689 packet_count = CHARS_TO_SHORT(dataout) / 6; in inv_test_gyro_6050()703 x[total_count + i] = CHARS_TO_SHORT(&dataout[0]); in inv_test_gyro_6050()704 y[total_count + i] = CHARS_TO_SHORT(&dataout[2]); in inv_test_gyro_6050()705 z[total_count + i] = CHARS_TO_SHORT(&dataout[4]); in inv_test_gyro_6050()[all …]