mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
Merge pull request #21884 from maribu/tests/periph/selftest_shield
tests/periph/selftest_shield: Add NONSTRING attribute to test data
This commit is contained in:
commit
0a2e1649bc
@ -47,7 +47,7 @@ extern "C" {
|
||||
* zero byte.)
|
||||
*/
|
||||
#ifndef NONSTRING
|
||||
# if (__GNUC__ >= 15)
|
||||
# if ((__GNUC__ >= 15) || (__clang_major__ >= 21))
|
||||
# define NONSTRING __attribute__((nonstring))
|
||||
# else
|
||||
# define NONSTRING
|
||||
|
||||
@ -172,6 +172,7 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
NONSTRING
|
||||
static const char testdata[8] = "Selftest";
|
||||
static const spi_t spi_buses[] = {
|
||||
#ifdef ARDUINO_SPI_D11D12D13
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user