<?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>App_timer causes main loop restart when started</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24677/app_timer-causes-main-loop-restart-when-started</link><description>I&amp;#39;m trying to implement a simple RTC timer into my project, and it seems like the app_timer module is the best way to do that, especially when using the Softdevice. I added the following code to my project in order to implement: 
 static void Handle_Timer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Aug 2017 22:07:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24677/app_timer-causes-main-loop-restart-when-started" /><item><title>RE: App_timer causes main loop restart when started</title><link>https://devzone.nordicsemi.com/thread/97131?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 22:07:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbb29047-2bf2-4e5d-8dd9-b37efe214f44</guid><dc:creator>Keenan Wulff</dc:creator><description>&lt;p&gt;I checked, and yes it was before.  I moved it into the same function though, and it seems to have helped, so thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App_timer causes main loop restart when started</title><link>https://devzone.nordicsemi.com/thread/97130?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 21:37:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e9dea74-960b-48fe-863f-ce59366c9349</guid><dc:creator>Keenan Wulff</dc:creator><description>&lt;p&gt;Knowing myself, probably not.  I&amp;#39;ll check when I get a change&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App_timer causes main loop restart when started</title><link>https://devzone.nordicsemi.com/thread/97129?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 21:27:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f01e65e1-2165-4ee6-a1e8-c33620aeb446</guid><dc:creator>Bryan H</dc:creator><description>&lt;p&gt;And app_timer_init is called before you call app_timer_create?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App_timer causes main loop restart when started</title><link>https://devzone.nordicsemi.com/thread/97128?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 21:25:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:712843f3-a325-4cd4-bdb6-f7acc0032088</guid><dc:creator>Keenan Wulff</dc:creator><description>&lt;p&gt;I have a macro call for that in my main loop&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App_timer causes main loop restart when started</title><link>https://devzone.nordicsemi.com/thread/97127?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 20:00:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbd1f115-79f5-4c52-a941-ed88760f664d</guid><dc:creator>Bryan H</dc:creator><description>&lt;p&gt;Did you initilize the app_timer? Use:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;app_timer_init();
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;just before your app_timer_create statement&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>