Merge pull request #2176 from WangLei1993/master

makes sense... Remove unused variable by using "#if !defined()"
This commit is contained in:
olikraus 2023-05-15 09:48:29 +02:00 committed by GitHub
commit 61c3ae5908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -881,7 +881,11 @@ extern "C" uint8_t u8x8_byte_arduino_3wire_hw_spi(u8x8_t *u8x8, uint8_t msg, uin
extern "C" uint8_t u8x8_byte_arduino_hw_spi(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr)
{
#ifdef U8X8_HAVE_HW_SPI
#if !defined(ESP_PLATFORM)
uint8_t *data;
#endif
uint8_t internal_spi_mode;
switch(msg)