<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>[bug report] pwm_state is inconsistent, causing an ASSERT to fail</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14267/bug-report-pwm_state-is-inconsistent-causing-an-assert-to-fail</link><description>Hi, 
 I believe there&amp;#39;s a minor bug in low_power_pwm.c regarding pwm_state. 
 The routine low_power_pwm_start sets the pwm_state to NRF_DRV_STATE_POWERED_ON ; but it then calls pwm_timeout_handler , which immediately sets the state back to NRF_DRV_STATE_INITIALIZED</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Jun 2016 14:27:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14267/bug-report-pwm_state-is-inconsistent-causing-an-assert-to-fail" /><item><title>RE: [bug report] pwm_state is inconsistent, causing an ASSERT to fail</title><link>https://devzone.nordicsemi.com/thread/54453?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2016 14:27:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76c2e825-5000-4b3b-93de-a6e243590ad9</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;This looks like a bug, I will report this internally.&lt;/p&gt;
&lt;p&gt;If &lt;code&gt;DEBUG_NRF&lt;/code&gt; or &lt;code&gt;DEBUG_NRF_USER&lt;/code&gt; is not defined the code will work since ASSERT is defined as empty, but the state will be wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>