Infrared Thermopile Sensor in Chip-Scale Package
Diff: AMG8833.cpp
- Revision:
- 4:d3c9c6df14a8
- Parent:
- 2:4c2811c6faa1
--- a/AMG8833.cpp Fri Jan 11 14:15:01 2019 +0000 +++ b/AMG8833.cpp Tue Jan 22 11:40:31 2019 +0000 @@ -595,7 +595,7 @@ AMG8833::AMG8833_status_t aux; /* Get thermistor raw temperature data */ - aux = AMG8833_GetThermistorRawData ( myThermistorValue ); + aux = AMG8833::AMG8833_GetThermistorRawData ( myThermistorValue ); /* Check if the temperature is negative */ if ( ( myThermistorValue->termistorOutputRawValue & 0x800 ) == 0x800 ) @@ -746,12 +746,12 @@ */ AMG8833::AMG8833_status_t AMG8833::AMG8833_GetPixelTemperatures ( AMG8833_data_t* myPixelTemperatureData ) { - char i = 0U; + uint8_t i = 0U; float mySign = 0.0; AMG8833::AMG8833_status_t aux; /* Get pixel raw temperature data */ - aux = AMG8833_GetPixelRawTemperatures ( myPixelTemperatureData ); + aux = AMG8833::AMG8833_GetPixelRawTemperatures ( myPixelTemperatureData ); /* Parse the data */