Supporting other prescaling factors in the PWM module

ChibiOS public support forum for topics related to the Atmel AVR family of micro-controllers.

Moderator: tfAteba

User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Supporting other prescaling factors in the PWM module

Post by Giovanni »

You may just post the modified files zipped, Theo can then do a compare.

Giovanni
orion
Posts: 17
Joined: Sun Nov 12, 2017 7:56 pm
Has thanked: 4 times
Been thanked: 3 times

Re: Supporting other prescaling factors in the PWM module

Post by orion »

Sorry, forgot to make it compatible with patch. Below is the correct version.
Attachments
pwm-modified.zip
modified files
(14.85 KiB) Downloaded 841 times
pwm_patch.zip
patch file
(5.56 KiB) Downloaded 868 times
User avatar
tfAteba
Posts: 551
Joined: Fri Oct 16, 2015 11:03 pm
Has thanked: 91 times
Been thanked: 50 times

Re: Supporting other prescaling factors in the PWM module

Post by tfAteba »

Thanks, i will then take a look tonigth.
User avatar
tfAteba
Posts: 551
Joined: Fri Oct 16, 2015 11:03 pm
Has thanked: 91 times
Been thanked: 50 times

Re: Supporting other prescaling factors in the PWM module

Post by tfAteba »

Hello,

Just a small message to tell you that I will take care of your work shortly. Sorry for the long delay due to my private situation.

Thanks.
User avatar
tfAteba
Posts: 551
Joined: Fri Oct 16, 2015 11:03 pm
Has thanked: 91 times
Been thanked: 50 times

Re: Supporting other prescaling factors in the PWM module

Post by tfAteba »

Hello Orion,

One more time I want to apologize for the long delay.

Every things look good for me, I have tested the code and it work fine on the arduino Mega2560.

So the patch is committed on the trunk.

Thanks
Post Reply