<?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>custom defines ineffetiveness issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83942/custom-defines-ineffetiveness-issue</link><description>Hi, I am developing an application using Zephyr for nRF5340CPU. In the program there are the statements inserted to conditionaly display few parameters on norma 16x2 alphanueric LCD. To conditionaly, include the LCD code in compilation, #define SEND_TO_LCD</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Jan 2022 04:48:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83942/custom-defines-ineffetiveness-issue" /><item><title>RE: custom defines ineffetiveness issue</title><link>https://devzone.nordicsemi.com/thread/349664?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 04:48:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:496e3fe5-abf3-419f-9e3f-52b994513bf5</guid><dc:creator>mexco</dc:creator><description>&lt;p&gt;HI Thorsrud, Thanks for your suggestions. It got resolved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom defines ineffetiveness issue</title><link>https://devzone.nordicsemi.com/thread/349254?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 12:51:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5f5df59-8b63-4523-87c0-806155919e2b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Gulzar,&lt;/p&gt;
&lt;p&gt;Is the main.h file included in your esp8266.c? If it is, then the define will be there and it will be included by the preprocessor during the build.&lt;/p&gt;
&lt;p&gt;However, due to the way the nRF Connect SDK and Segger Embedded Studio is integrated you cannot always trust that the inactive code opacity works as expected. If that causes confusion or is annoying I suggest you turn it off to avoid confusion (Tools -&amp;gt; Options..., Then search for &amp;quot;Inactive&amp;quot; and set the Inactive Code Opacity).&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>