<?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>when put a function in main , the current is about 0.3mA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32644/when-put-a-function-in-main-the-current-is-about-0-3ma</link><description>like this： 
 bool gm_judge_obd_no_data(void) { if(m_obd_auto_info.rpm &amp;gt; 10) { return false; } 
 return true; } 
 
 void gm_vel_dispaly_process(void) 
 { 
 switch(m_vel_dispaly_process) 
 { 
 
 case VEL_DIS_PROCESS_SLEEP : 
 { 
 if(gm_judge_obd_no_data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Apr 2018 13:37:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32644/when-put-a-function-in-main-the-current-is-about-0-3ma" /><item><title>RE: when put a function in main , the current is about 0.3mA</title><link>https://devzone.nordicsemi.com/thread/127065?ContentTypeID=1</link><pubDate>Thu, 05 Apr 2018 13:37:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8b034ea-cc39-4102-b667-04903424fd6e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the late reply.&lt;/p&gt;
&lt;p&gt;Is there anything that&amp;nbsp;m_vel_dispaly_process or any of the other variables in the function &amp;quot;gm_vel_dispaly_process&amp;quot; that are processed asynchronously in a timer interrupt or similar that might account for this sleep current?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: when put a function in main , the current is about 0.3mA</title><link>https://devzone.nordicsemi.com/thread/125631?ContentTypeID=1</link><pubDate>Fri, 23 Mar 2018 03:40:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3afd6caa-304c-4e8e-a788-1998e1cffd47</guid><dc:creator>DGY</dc:creator><description>&lt;p&gt;sorry，it belongs to the company，i&amp;nbsp;revise the question. thank u.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: when put a function in main , the current is about 0.3mA</title><link>https://devzone.nordicsemi.com/thread/125536?ContentTypeID=1</link><pubDate>Thu, 22 Mar 2018 12:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5b493bd-4bdf-4f44-9ead-690b3f336f43</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you post/upload your test program?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>