<?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>AN36 Button handling warning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3428/an36-button-handling-warning</link><description>I&amp;#39;m sorry if I&amp;#39;m missing something...
AN36 p.29 has a code snippet: 
 static app_button_cfg_t buttons[] = {
 {WAKEUP_BUTTON_PIN, false, NRF_GPIO_PIN_PULLUP, NULL},
 {LEDBUTTON_BUTTON_PIN_NO, false, NRF_GPIO_PIN_PULLUP, button_event_handler},
};</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 10 Aug 2014 22:44:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3428/an36-button-handling-warning" /><item><title>RE: AN36 Button handling warning</title><link>https://devzone.nordicsemi.com/thread/12431?ContentTypeID=1</link><pubDate>Sun, 10 Aug 2014 22:44:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e45584b6-3d88-41c7-b4e4-c3508b78a9b8</guid><dc:creator>michurin</dc:creator><description>&lt;p&gt;Indeed. Shouldn&amp;#39;t the soft-device verify the version to avoid such confusion?!
What is the latest stable version for SD and SRC/LIB/INC where are all examples work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AN36 Button handling warning</title><link>https://devzone.nordicsemi.com/thread/12430?ContentTypeID=1</link><pubDate>Sun, 10 Aug 2014 17:49:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e2c8c36-6beb-44ca-bb26-db326818ca14</guid><dc:creator>kb</dc:creator><description>&lt;p&gt;It seems to be due to your using an older/different version of app_button.h.&lt;/p&gt;
&lt;p&gt;This is the typedef I have in my copy of the same file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/**@brief Button event handler type. */
typedef void (*app_button_handler_t)(uint8_t pin_no, uint8_t button_action);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AN36 Button handling warning</title><link>https://devzone.nordicsemi.com/thread/12429?ContentTypeID=1</link><pubDate>Sun, 10 Aug 2014 02:28:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2406f11-535b-4964-a03a-8e9dc0df3bf7</guid><dc:creator>michurin</dc:creator><description>&lt;p&gt;I downloaded and compiled this example from GitHub: the same issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>