From 8af1501328711ba806785861b183786cb5cbb80a Mon Sep 17 00:00:00 2001 From: fauxpark Date: Mon, 30 Dec 2019 05:21:58 +1100 Subject: Clean up ISSI driver includes (#7734) * Clean up ISSI driver includes * Missed an endif --- drivers/issi/is31fl3731-simple.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'drivers/issi/is31fl3731-simple.c') diff --git a/drivers/issi/is31fl3731-simple.c b/drivers/issi/is31fl3731-simple.c index fad4676def..bd3bb47460 100644 --- a/drivers/issi/is31fl3731-simple.c +++ b/drivers/issi/is31fl3731-simple.c @@ -16,21 +16,9 @@ * along with this program. If not, see . */ -#ifdef __AVR__ -# include -# include -# include -#else -# include "wait.h" -#endif - -#include -#include -#include #include "is31fl3731-simple.h" #include "i2c_master.h" -#include "progmem.h" -#include "print.h" +#include "wait.h" // This is a 7-bit address, that gets left-shifted and bit 0 // set to 0 for write, 1 for read (as per I2C protocol) @@ -156,6 +144,7 @@ void IS31FL3731_init(uint8_t addr) { // enable software shutdown IS31FL3731_write_register(addr, ISSI_REG_SHUTDOWN, 0x00); + // this delay was copied from other drivers, might not be needed wait_ms(10); -- cgit v1.2.3