5 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
8 #define UNUSED(x) (void)(x)
11 class NullStream
: public Stream
14 int available() override
33 size_t write(uint8_t u_Data
) override
39 size_t write(const uint8_t *buffer
, size_t size
) override
46 #if defined(PLATFORM_STM32)
47 inline const char *strchrnul(const char *pos
, const char find
)
49 const char *semi
= strchr(pos
, find
);
52 semi
= pos
+ strlen(pos
);