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

SKR Pro boards have no DIAG jumpers #26399

Merged
merged 4 commits into from
Nov 10, 2023

Conversation

ellensp
Copy link
Contributor

@ellensp ellensp commented Nov 6, 2023

Description

  1. pins_BTT_SKR_PRO_common.h is used by both pins_BTT_SKR_PRO_V1_1.h and pins_BTT_SKR_PRO_V1_2.h
    and defines USES_DIAG_JUMPERS

Both of these board do not have diag jumpers and require cutting off the diag pins if not using sensorless homing.

Updated to use USES_DIAG_PINS

  1. fixed bug introduced with 3341683 that broke CI for everyone
    FLT_MAX used when it should be __FLT_MAX__

Requirements

BOARD_BTT_SKR_PRO_V1_1 or BOARD_BTT_SKR_PRO_V1_2

Benefits

Correct warning is given

"Driver DIAG pins must be physically removed unless SENSORLESS_HOMING is enabled. (See https://bit.ly/2ZPRlt0) (Define DIAG_PINS_REMOVED to suppress this warning.)"

Configurations

Related Issues

has needs USES_DIAG_PINS  does not have jumpers
@ellensp
Copy link
Contributor Author

ellensp commented Nov 6, 2023

Every time I do a PR CI is broken!!! This is most frustrating!
broken with 3341683

__FLT_MAX__ not FLT_MAX
@ellensp
Copy link
Contributor Author

ellensp commented Nov 6, 2023

Fixed FLT_MAX -> __FLT_MAX__ bug to fix CI

@ellensp ellensp changed the title Update pins_BTT_SKR_PRO_common.h, there are no diag jumpers for board that using this file Update pins_BTT_SKR_PRO_common.h, there are no diag jumpers for board that using this file. Fix FLT_MAX bug Nov 6, 2023
remove spaces
@ellensp
Copy link
Contributor Author

ellensp commented Nov 8, 2023

Since PR is still open, I've add a commit remove a erroneous indent in pins.h

@thinkyhead thinkyhead changed the title Update pins_BTT_SKR_PRO_common.h, there are no diag jumpers for board that using this file. Fix FLT_MAX bug SKR Pro boards have no DIAG jumpers Nov 10, 2023
@thinkyhead thinkyhead merged commit bf0acc9 into MarlinFirmware:bugfix-2.1.x Nov 10, 2023
59 checks passed
@ellensp ellensp deleted the patch-4 branch November 10, 2023 02:46
eoyilmaz pushed a commit to eoyilmaz/Marlin that referenced this pull request Nov 21, 2023
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants