Skip to content

Commit

Permalink
Disable assertions on Arduino Nano and Uno by default to same code me…
Browse files Browse the repository at this point in the history
…mory.
  • Loading branch information
eerimoq committed May 31, 2016
1 parent abb604e commit b6bfadd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/config_default.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
* Build with assert.
*/
#ifndef CONFIG_ASSERT
# define CONFIG_ASSERT 1
# if defined(BOARD_ARDUINO_NANO) || defined(BOARD_ARDUINO_UNO)
# define CONFIG_ASSERT 0
# else
# define CONFIG_ASSERT 1
# endif
#endif

/**
Expand Down

0 comments on commit b6bfadd

Please sign in to comment.