[riot-commits] [RIOT-OS/RIOT] d3e0b7: cpu/esp8266: fix of set func in periph/pwm

MrKevinWeiss noreply at github.com
Thu Jun 27 16:35:55 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: d3e0b78f7c94dd6a462caa51933293254fffbdd5
      https://github.com/RIOT-OS/RIOT/commit/d3e0b78f7c94dd6a462caa51933293254fffbdd5
  Author: Gunar Schorcht <gunar at schorcht.net>
  Date:   2019-06-26 (Wed, 26 Jun 2019)

  Changed paths:
    M cpu/esp8266/periph/pwm.c

  Log Message:
  -----------
  cpu/esp8266: fix of set func in periph/pwm

In the `pwm_set` function, the switch-on and switch-off times for PWM channels were only determined for the following phase, but not for the current phase. This could result in a missing duty cycle when calling the function `pwm_set` if the switch-on time of the current phase was not yet reached or to an extended duty cycle if the switch-off time of the current phase had not yet been reached.


  Commit: 135ad3817bf11b07d40a1b9a99d88e7a966c38fd
      https://github.com/RIOT-OS/RIOT/commit/135ad3817bf11b07d40a1b9a99d88e7a966c38fd
  Author: Kevin "Bear Puncher" Weiss <weiss.kevin604 at gmail.com>
  Date:   2019-06-27 (Thu, 27 Jun 2019)

  Changed paths:
    M cpu/esp8266/periph/pwm.c

  Log Message:
  -----------
  Merge pull request #10982 from gschorcht/cpu/esp8266/periph/pwm/pr

cpu/esp8266: fix pwm_set func


Compare: https://github.com/RIOT-OS/RIOT/compare/14f91388bdc7...135ad3817bf1


More information about the commits mailing list