Skip to content

Added common temperature sensor error value.#11

Merged
SeongGino merged 1 commit intoTeamOpenFIRE:mainfrom
tbreckle:main
Jan 13, 2026
Merged

Added common temperature sensor error value.#11
SeongGino merged 1 commit intoTeamOpenFIRE:mainfrom
tbreckle:main

Conversation

@tbreckle
Copy link
Contributor

@tbreckle tbreckle commented Jan 12, 2026

This pull request adds a new constant to the OF_Const class in OpenFIREshared.h to represent a specific error value for temperature sensor faults or disconnections.

Sensor error handling:

  • Added TEMPERATURE_SENSOR_ERROR_VALUE constant to OF_Const to indicate an ADC reading that signals a temperature sensor fault or disconnection.

ATTENTION:
This PR is required for other PRs in firmware and app repo:
TeamOpenFIRE/OpenFIRE-Firmware#141
TeamOpenFIRE/OpenFIRE-App#109

Copy link
Member

@SeongGino SeongGino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a single line, not really seeing any harm with that.

@SeongGino SeongGino merged commit a019e91 into TeamOpenFIRE:main Jan 13, 2026
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