Skip to content

Conversation

@elral
Copy link
Collaborator

@elral elral commented Feb 24, 2025

Description of changes

With FW version 3.0.0 analog read is not working anymore.
In this version a new deviceID for analog devices was introduced. This new analog device does not enable the PullUp's for the configured pins to get a linear read in.
During reading the config from flash the number of devices per type is calculated to define the array size for these devices. For devices with deprecated ID's also these one have to be considered. This was not implemented. So only new analog device types are considered, but as the connector does not support this type yet, the number of analog devices is always zero. While adding a device it's checked if the calculatd number get's exceeded. If so, no device gets added.

Fixes #356

@elral elral requested a review from DocMoebiuz as a code owner February 24, 2025 16:20
@github-actions
Copy link

Board and firmware folder for this pull request:
Mobiflight-Connector.zip

@DocMoebiuz DocMoebiuz merged commit fb85dfa into MobiFlight:main Feb 24, 2025
1 check passed
@elral elral deleted the hotfix_analog_read branch February 25, 2025 05:34
@DocMoebiuz DocMoebiuz added the bug Something isn't working label Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Analog Read not working with version 3.0.0

2 participants