kopia lustrzana https://github.com/k3ng/k3ng_cw_keyer
2022.01.28.01
Added compiler macro to error out if paddle_left or paddle_right is defined as 0 (disabled)ATMega_More_Pins
rodzic
a20090a8a6
commit
8234510277
|
@ -1532,6 +1532,10 @@ If you offer a hardware kit using this software, show your appreciation by sendi
|
|||
#include "keyer_settings.h"
|
||||
#endif
|
||||
|
||||
#if (paddle_left == 0) || (paddle_right == 0)
|
||||
#error "You cannot define paddle_left or paddle_right as 0 to disable"
|
||||
#endif
|
||||
|
||||
#if defined(FEATURE_BUTTONS)
|
||||
#include "src/buttonarray/buttonarray.h"
|
||||
#endif
|
||||
|
|
|
@ -48,3 +48,4 @@
|
|||
#if defined(FEATURE_COMMAND_MODE) && !defined(FEATURE_BUTTONS)
|
||||
#error "FEATURE_COMMAND_MODE requires FEATURE_BUTTONS"
|
||||
#endif
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue