drivers/sdp3x: Corrected improper comments for internal functions

This commit is contained in:
nagrawal 2020-07-30 17:30:25 +02:00 committed by Nishchay-sopho
parent 870c8920bd
commit f50da0a27d

View File

@ -348,8 +348,7 @@ static int32_t _SDP3x_read_pressure(const sdp3x_t *dev)
* 2 byte Scale Factor differential pressure * 2 byte Scale Factor differential pressure
* 1 byte CRC * 1 byte CRC
* *
* @param addr Address byte 1 = 0x21, 2 = 0x22, 3 = 0x23, * @param dev sdp3x device
* else = Last address
* @param data Data will be stored here * @param data Data will be stored here
* *
* @return 0 if data could be read, 1 if CRC-Error * @return 0 if data could be read, 1 if CRC-Error
@ -387,8 +386,8 @@ static int8_t _SDP3x_read_data(const sdp3x_t *dev, int16_t *data)
/** /**
* intern method to convert sensor value to pascal * intern method to convert sensor value to pascal
* @param dev device
* @param value raw sensor value * @param value raw sensor value
* @param dp_scale_factor scale factor for sensor
* @return pressure value in centiPa * @return pressure value in centiPa
*/ */
static int32_t _SDP3x_convert_to_pascal(int16_t value, int16_t dp_scale_factor) static int32_t _SDP3x_convert_to_pascal(int16_t value, int16_t dp_scale_factor)
@ -399,7 +398,6 @@ static int32_t _SDP3x_convert_to_pascal(int16_t value, int16_t dp_scale_factor)
/** /**
* intern method to convert sensor value to celsius * intern method to convert sensor value to celsius
* @param dev device
* @param value raw sensor value * @param value raw sensor value
* @return temperature in centi°C * @return temperature in centi°C
*/ */
@ -445,7 +443,6 @@ static void _sdp3x_irq_callback(void *arg)
* Function to check if the product number set * Function to check if the product number set
* is the one we get from the sensor * is the one we get from the sensor
* @param data data read from the sensor * @param data data read from the sensor
* @param dev sdp3x device
* @return true if values from sensor were correct * @return true if values from sensor were correct
*/ */
static bool _check_product_number(uint8_t *readData) static bool _check_product_number(uint8_t *readData)