|
|
@ -2367,7 +2367,7 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2) |
|
|
|
* Photo G-code requirements |
|
|
|
*/ |
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
#if (PIN_EXISTS(CHDK) + PIN_EXISTS(PHOTOGRAPH_PIN) + defined(PHOTO_SWITCH_POSITION)) > 1 |
|
|
|
#if (PIN_EXISTS(CHDK) + PIN_EXISTS(PHOTOGRAPH) + defined(PHOTO_SWITCH_POSITION)) > 1 |
|
|
|
#error "Please define only one of CHDK_PIN, PHOTOGRAPH_PIN, or PHOTO_SWITCH_POSITION." |
|
|
|
#elif defined(PHOTO_SWITCH_POSITION) && !defined(PHOTO_POSITION) |
|
|
|
#error "PHOTO_SWITCH_POSITION requires PHOTO_POSITION. Please update your Configuration_adv.h." |
|
|
|