* fix: led strip not working (#14279)
* fix: led strip not working reworked (#14279)
* Revert src/platform/STM32/target/STM32F745/target.h
* Revert src/platform/STM32/target/STM32F7X2/target.h
* Fix per review ledvinap
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Properly handle HSI if selected
In some places, PERSISTENT_OBJECT_HSE_VALUE being zero is used to imply that the MCU should be clocked from HSI, but the code doesn't really follow through and results in an invalid clock tree setup.
The proposed changes should fix this.
* Apply suggestions from code review
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Update system_stm32g4xx.c
HSI should now be implicitly selected when SYSTEM_HSE_MHZ is defined as 0 or omitted in the target config.
USE_CLOCK_SOURCE_HSI is not necessary.
* Update src/platform/STM32/startup/system_stm32g4xx.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/platform/STM32/startup/system_stm32g4xx.c
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
quaternion w can ce negative, causing problem with unit quaternion
reconstruction. Send inverted quaternion in negative-w case (q and -q
are identical rotations)
* increasing number of msp ports
* Adding custom define and bumping to 6 ports
* reverting msp ports to allow to be bumped at build time
* Update src/main/msp/msp_serial.h
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* reset src/config
---------
Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* consistent autopilot parameter names
- add colons after each blackbox header line
- change alt_hold_throttle_response to alt_hold_climb_rate
- don't use cfg abbreviation for apConfig() because it is harder to search
* enforce semicolon with do... while (0)
* don't abbreviate autopilotConfig to apConfig
* remove semicolon after break to enforce semicolon at input line ending
* explanatory message
* fix copy and paste errors
* restore local cfg alias in place of autopilotConfig()
* struct name formatting as requested by blckmn
Co-Authored-By: Jay Blackman <blckmn@users.noreply.github.com>
* underscore the CLI names, fix prev commit
Co-Authored-By: Jay Blackman <blckmn@users.noreply.github.com>
* Update src/main/fc/parameter_names.h
* Update src/main/fc/parameter_names.h
---------
Co-authored-by: Jay Blackman <blckmn@users.noreply.github.com>
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>