mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-14 20:35:55 +08:00
Update esp3d_commands.cpp (#992)
fix [ESP250] command,if no DISPLAY_DEVICE. Signed-off-by: E2D <engineer2designer@gmail.com>
This commit is contained in:
parent
13cdc37a1e
commit
b6a720f96a
@ -609,6 +609,7 @@ void ESP3DCommands::execute_internal_command(int cmd, int cmd_params_pos,
|
|||||||
ESP215(cmd_params_pos, msg);
|
ESP215(cmd_params_pos, msg);
|
||||||
break;
|
break;
|
||||||
#endif // DISPLAY_TOUCH_DRIVER
|
#endif // DISPLAY_TOUCH_DRIVER
|
||||||
|
#endif // DISPLAY_DEVICE
|
||||||
#ifdef BUZZER_DEVICE
|
#ifdef BUZZER_DEVICE
|
||||||
// Play sound
|
// Play sound
|
||||||
//[ESP250]F=<frequency> D=<duration> [pwd=<user password>]
|
//[ESP250]F=<frequency> D=<duration> [pwd=<user password>]
|
||||||
@ -616,7 +617,6 @@ void ESP3DCommands::execute_internal_command(int cmd, int cmd_params_pos,
|
|||||||
ESP250(cmd_params_pos, msg);
|
ESP250(cmd_params_pos, msg);
|
||||||
break;
|
break;
|
||||||
#endif // BUZZER_DEVICE
|
#endif // BUZZER_DEVICE
|
||||||
#endif // DISPLAY_DEVICE
|
|
||||||
// Show pins
|
// Show pins
|
||||||
//[ESP220][pwd=<user password>]
|
//[ESP220][pwd=<user password>]
|
||||||
case 220:
|
case 220:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user