paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [paparazzi/paparazzi] fa0399: Fixed a bug in the ini


From: GitHub
Subject: [paparazzi-commits] [paparazzi/paparazzi] fa0399: Fixed a bug in the initialization of TIM6 used for...
Date: Mon, 27 Feb 2012 18:20:18 -0800

  Branch: refs/heads/locm3
  Home:   https://github.com/paparazzi/paparazzi
  Commit: fa039998e079cf691cf24867459c64085cf2aa8d
      
https://github.com/paparazzi/paparazzi/commit/fa039998e079cf691cf24867459c64085cf2aa8d
  Author: Piotr Esden-Tempski <address@hidden>
  Date:   2012-02-27 (Mon, 27 Feb 2012)

  Changed paths:
    M sw/airborne/arch/stm32/subsystems/radio_control/spektrum_arch.c

  Log Message:
  -----------
  Fixed a bug in the initialization of TIM6 used for spektrum binding.

The roason was that the prescaler value was not being loaded until an
update event was generated. Remedied setting the counter value so that
the update get's generated virtually instantly after the timer gets
enabled.  Cleaner solution would be to force an update event by setting
some bit, but I don't seem to see anything that would do the job.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]