Skip to content

Measure functions must standby() if the startMeasure functions return DPS__FAIL_TOOBUSY #5

@OlafFilies

Description

@OlafFilies

Consider this enhancement for the next release of the arduino-xensiv-dps3xx library.

This Ticket was taken over from the deprecated DPS310-Pressure-Sensor, as this repository will be archived. See Infineon/DPS310-Pressure-Sensor#17

Code changes are made in the DpsClass::measureTempOnce and the DpsClass::measurePressureOnce function in the DpsClass

if (ret != DPS__SUCCEEDED) 
{
   if (ret == DPS__FAIL_TOOBUSY)
          {
   		standby();
   	}
   	return ret;
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions