Update and fix CHDK

This commit is contained in:
Scott Lahteine
2018-11-05 01:08:40 -06:00
parent fed84f2961
commit 498dfa291e
63 changed files with 548 additions and 137 deletions

View File

@ -522,7 +522,7 @@ void GcodeSuite::process_parsed_command(
case 304: M304(); break; // M304: Set bed PID parameters
#endif
#if defined(CHDK) || HAS_PHOTOGRAPH
#if PIN_EXISTS(CHDK) || HAS_PHOTOGRAPH
case 240: M240(); break; // M240: Trigger a camera by emulating a Canon RC-1 : http://www.doc-diy.net/photo/rc-1_hacked/
#endif