Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

#ifdef directive

$
0
0

Hi,

How do i verify two definitions ex: if some thing I want to do if UART0 and UART1 defined,

I did as below

#ifdef UART0 || UART1 

but I am getting warning

#14-D extra text after expected end of preprocessing directive

How to fix problem

Regards

Paddy


Viewing all articles
Browse latest Browse all 262198

Trending Articles