mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-13 01:40:09 +00:00
✏️ Fix pin debug ternary (#25832)
This commit is contained in:
parent
6e5f41fe6b
commit
48496dfec1
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
|||
// Active ADC function/mode/code values for PINSEL registers
|
||||
constexpr int8_t ADC_pin_mode(pin_t pin) { return -1; }
|
||||
|
||||
int8_t get_pin_mode(const pin_t pin) { return VALID_PIN(pin) 0 : -1; }
|
||||
int8_t get_pin_mode(const pin_t pin) { return VALID_PIN(pin) ? 0 : -1; }
|
||||
|
||||
bool GET_PINMODE(const pin_t pin) {
|
||||
const int8_t pin_mode = get_pin_mode(pin);
|
||||
|
|
Loading…
Add table
Reference in a new issue