mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-21 23:01:00 -08:00
Only include the libraries that are used
This commit is contained in:
@@ -9,12 +9,20 @@
|
|||||||
#include "Scan.h"
|
#include "Scan.h"
|
||||||
#include "Attack.h"
|
#include "Attack.h"
|
||||||
|
|
||||||
#include <Wire.h>
|
// ===== adjustable ===== //
|
||||||
#include <SPI.h>
|
#if defined(SSD1306_I2C)
|
||||||
#include <SH1106Wire.h>
|
#include <Wire.h>
|
||||||
#include <SSD1306Wire.h>
|
#include <SSD1306Wire.h>
|
||||||
#include <SH1106Spi.h>
|
#elif defined(SSD1306_SPI)
|
||||||
#include <SSD1306Spi.h>
|
#include <SPI.h>
|
||||||
|
#include <SSD1306Spi.h>
|
||||||
|
#elif defined(SH1106_I2C)
|
||||||
|
#include <Wire.h>
|
||||||
|
#include <SH1106Wire.h>
|
||||||
|
#elif defined(SH1106_SPI)
|
||||||
|
#include <SPI.h>
|
||||||
|
#include <SH1106Spi.h>
|
||||||
|
#endif /* if defined(SSD1306_I2C) */
|
||||||
|
|
||||||
#include <SimpleButton.h>
|
#include <SimpleButton.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user