Skip to content

Commit 55320b8

Browse files
committed
SPI: move instability warning to .cpp file
to avoid spamming build logs
1 parent a28b81e commit 55320b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/SPI/src/SPI.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#include <drivers/gpio/gpio.h>
44
#include <drivers/sysclock/sysclock.h>
55

6+
#warning "SPI on the HC32F460 has not been tested yet. See https://github.com/shadow578/framework-arduino-hc32f46x/pull/29"
7+
68
/**
79
* @brief given a integer v, round up to the next power of two
810
* @note based on https://stackoverflow.com/a/466242

libraries/SPI/src/SPI.h

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
#error "SPI library requires PWC DDL to be enabled"
1515
#endif
1616

17-
#warning "SPI on the HC32F460 has not been tested yet. See https://github.com/shadow578/framework-arduino-hc32f46x/pull/29"
18-
1917

2018
// SPI_HAS_TRANSACTION means SPI has
2119
// - beginTransaction()

0 commit comments

Comments
 (0)