From 58692b9009f87214c35022a428db98527f038cde Mon Sep 17 00:00:00 2001 From: jflyper Date: Mon, 26 Nov 2018 11:10:42 +0900 Subject: [PATCH] Set MAX7456 SPI instance to default NULL --- src/main/target/common_defaults_post.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/target/common_defaults_post.h b/src/main/target/common_defaults_post.h index d78d755b7f..edcdcc4829 100644 --- a/src/main/target/common_defaults_post.h +++ b/src/main/target/common_defaults_post.h @@ -36,6 +36,10 @@ #ifndef MAX7456_SPI_CS_PIN #define MAX7456_SPI_CS_PIN NONE #endif + +#ifndef MAX7456_SPI_INSTANCE +#define MAX7456_SPI_INSTANCE NULL +#endif #endif // pg/flash