issue #418, fixed SH1107 constructor call

This commit is contained in:
olikraus
2017-12-23 12:43:26 +01:00
parent 3bcdae1dcd
commit 16cfae2f63
33 changed files with 73 additions and 70 deletions
+4 -2
View File
@@ -368,6 +368,7 @@ extern "C" uint8_t u8x8_byte_arduino_hw_spi(u8x8_t *u8x8, uint8_t msg, uint8_t a
case U8X8_MSG_BYTE_INIT:
/* disable chipselect */
u8x8_gpio_SetCS(u8x8, u8x8->display_info->chip_disable_level);
/* no wait required here */
/* for SPI: setup correct level of the clock signal */
@@ -450,8 +451,9 @@ extern "C" uint8_t u8x8_byte_arduino_hw_spi(u8x8_t *u8x8, uint8_t msg, uint8_t a
return 0;
}
#else
#endif
#else /* U8X8_HAVE_HW_SPI */
#endif /* U8X8_HAVE_HW_SPI */
return 1;
}