Skip to content

Comments

Fix crash when sendCommand acceptableResponse parameter is NULL.#6

Open
timtimmahh wants to merge 7 commits intoMaffooClock:masterfrom
timtimmahh:master
Open

Fix crash when sendCommand acceptableResponse parameter is NULL.#6
timtimmahh wants to merge 7 commits intoMaffooClock:masterfrom
timtimmahh:master

Conversation

@timtimmahh
Copy link

Fixes a segfault on strlen(NULL) in the sendCommand function when acceptableResponse parameter is NULL.

timtimmahh and others added 7 commits July 27, 2024 15:35
will return if sensor reading successful and the presence data
is pass by reference parameter

bool readPresence( bool *presence );
Add function 'readPresence'
…onfiguration data from the sensor.

  + getDetectionRange
  + getSensitivity
  + getTriggerLatency
  + getLockout
  + getTriggerLevel
  + setUartOutput/getUartOutput
  + setEcho/getEcho
  + getLEDMode
  + getHWVersion
  + getSWVersion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants