Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Z_MIN_PROBE_ENDSTOP_INVERTING' was not declared in this scope #302

Open
Maxwime opened this issue Apr 3, 2023 · 0 comments
Open

'Z_MIN_PROBE_ENDSTOP_INVERTING' was not declared in this scope #302

Maxwime opened this issue Apr 3, 2023 · 0 comments

Comments

@Maxwime
Copy link

Maxwime commented Apr 3, 2023

Hello, l’m trying to build my own 3D printer, base on CREALITY ENDER3 TOUCHCREEN + 4.2.7 MOTHERBOARD and CRTOUCH.
I use CrealityDwin2.0_Bleeding with Configurations-bugfix-2.1.x ender 3 exemple.

But I have build error:

In file included from Marlin\src\feature\bltouch.cpp:39:
Marlin\src\feature\bltouch.cpp: In static member function 'static bool BLTouch::triggered()':
Marlin\src\feature../module/probe.h:47:55: error: 'Z_MIN_PROBE_ENDSTOP_INVERTING' was not declared in this scope; did you mean 'Z_MIN_PROBE_ENDSTOP_HIT_STATE'?
47 | #define PROBE_TRIGGERED() (READ(Z_MIN_PROBE_PIN) != Z_MIN_PROBE_ENDSTOP_INVERTING)
Marlin\src\feature\bltouch.cpp:96:36: note: in expansion of macro 'PROBE_TRIGGERED'
96 | bool BLTouch::triggered() { return PROBE_TRIGGERED(); }
| ^~~~~~~~~~~~~~~
*** [.pio\build\STM32F103RE_creality\src\src\feature\bltouch.cpp.o] Error 1

I dont know what to do to correct the probleme?

Thanks

Configuration.txt
Configuration_adv.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant