sui77 / rc-switch

Arduino lib to operate 433/315Mhz devices like power outlet sockets.
1.9k stars 658 forks source link

Visual studio code intelisense does not like #if not defined #401

Open nik1a opened 3 years ago

nik1a commented 3 years ago

Code like #if not defined( RCSwitchDisableReceiving ) does not work well with visual studio intelisense - spawns errors. Changing it to #ifndef RCSwitchDisableReceiving seems to fix it.