Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strtdriv: fixed incorrect brake pedal port mapping in harddriv.cpp #12192

Merged
merged 4 commits into from
Mar 29, 2024

Commits on Mar 29, 2024

  1. strtdriv: fixed incorrect brake pedal port mapping in harddriv.cpp

    Fixed wrongly mapped brake pedal input from 8ADC:6 to 8ADC:2 and swapped the Voice Mic function which is unused from 8ADC:2 to 8ADC:6 to avoid any conflict/loss of functionality. Steering input still needs to be fixed (if you turn to the far left of right the centre point of the steering wheel will shift and constantly pull the wheel in the opposite direction) Hard Drivin's Airborne has the same problem. Will try to fix that if I can and update the code here on GitHub.
    Madcadden committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    13ceed7 View commit details
    Browse the repository at this point in the history
  2. Fixed brake ADC channel mapping for strtdriv and specified that the "…

    …voice mic" ADC channel is a placeholder that has not been tested or verified as working in harddriv.cpp
    
    Swapped brake input from ADC channel 6 to ADC channel 2 to fix the broken brake input functionality. 
    
    Swapped "voice mic" from ADC channel 2 to ADC channel 6 as a placeholder only as it has NOT been tested or verified as working yet and may be unused.
    Madcadden committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    abded5e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc08dc8 View commit details
    Browse the repository at this point in the history
  4. Updated the voice mic ADC input comment to be more streamlined in har…

    …ddriv.cpp
    
    Updated the original comment on the untested/unverified voice mic ADC input instead of adding a extra comment to the code above it as suggested by rb6502 and cuavas.
    Madcadden committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    7cd14fc View commit details
    Browse the repository at this point in the history