<?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_BUTTON_INIT no longer exists?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10640/app_button_init-no-longer-exists</link><description>The comment above app_button_init says, in part: 
 * @note Normally initialization should be done using the APP_BUTTON_INIT() macro
 
 This macro is also mentioned in the documentation . However, I cannot find it anywhere in the code provided. Has</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Dec 2015 20:00:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10640/app_button_init-no-longer-exists" /><item><title>RE: APP_BUTTON_INIT no longer exists?</title><link>https://devzone.nordicsemi.com/thread/39693?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2015 20:00:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2418518-74c2-4c7d-adac-134bbe0a1eaf</guid><dc:creator>Nikolaus Wittenstein</dc:creator><description>&lt;p&gt;The default config file has &lt;code&gt;#define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1&lt;/code&gt;, but I&amp;#39;ve since realized that all of the example projects have &lt;code&gt;#define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 4&lt;/code&gt; in their config files. I feel slightly dumb but at least it works!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APP_BUTTON_INIT no longer exists?</title><link>https://devzone.nordicsemi.com/thread/39692?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2015 16:01:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34e0cd8c-aeeb-42fc-b0dc-132de71064e1</guid><dc:creator>Nikolaus Wittenstein</dc:creator><description>&lt;p&gt;Looks like &lt;code&gt;app_button_init&lt;/code&gt; calls the &lt;code&gt;GPIOTE_CONFIG_IN_SENSE_TOGGLE&lt;/code&gt; macro and passes &lt;code&gt;false&lt;/code&gt; as the argument, which sets the config to low-accuracy mode. In turn, &lt;code&gt;channel_port_alloc&lt;/code&gt; only tries to allocate from an array with &lt;code&gt;GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS&lt;/code&gt; elements, which is &lt;code&gt;#defined&lt;/code&gt; as 1. In short, this means that I can only have one button? The board support package has multiple buttons, and I&amp;#39;m not sure how they get away with it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>