Skip to content

Nrf52 softdevice checks reduction#2962

Open
pemensik wants to merge 1 commit into
meshcore-dev:devfrom
pemensik:nrf52-softdevice
Open

Nrf52 softdevice checks reduction#2962
pemensik wants to merge 1 commit into
meshcore-dev:devfrom
pemensik:nrf52-softdevice

Conversation

@pemensik

Copy link
Copy Markdown

Reduce repeating check for softdevice mode. Use common function for it. Reduce also repetitions in recently added getMCUTemperature

NRF52 can run in two distinct modes. softdevice uses device firmware API
calls. That is the case for companion device.  When not active, it runs
raw control. That is used by Repeater and similar modes.

Consolidate a bit getting temperature. Reuse common parts.
@pemensik

Copy link
Copy Markdown
Author

This should improve some unnecessary repetitions seen in #2897. It does not add any new functionality, just polishes the code.

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.

1 participant