Use a macro for HAL header redirection (#10380)
This commit is contained in:
committed by
Scott Lahteine
parent
12785583d0
commit
cc6d41e1d3
@ -886,6 +886,6 @@
|
||||
|
||||
// Note: default SPI pins are defined in the HAL
|
||||
|
||||
#include "../HAL/HAL_spi_pins.h"
|
||||
#include HAL_PATH(../HAL, spi_pins.h)
|
||||
|
||||
#endif // __PINS_H__
|
||||
|
@ -100,14 +100,13 @@ const PinInfo pin_array[] PROGMEM = {
|
||||
};
|
||||
|
||||
|
||||
#include "../HAL/HAL_pinsDebug.h" // get the correct support file for this CPU
|
||||
#include HAL_PATH(../HAL, pinsDebug.h) // get the correct support file for this CPU
|
||||
|
||||
|
||||
static void print_input_or_output(const bool isout) {
|
||||
serialprintPGM(isout ? PSTR("Output = ") : PSTR("Input = "));
|
||||
}
|
||||
|
||||
|
||||
// pretty report with PWM info
|
||||
inline void report_pin_state_extended(pin_t pin, bool ignore, bool extended = false, const char *start_string = "") {
|
||||
char buffer[MAX_NAME_LENGTH + 1]; // for the sprintf statements
|
||||
|
Reference in New Issue
Block a user