Skip to content

Commit 295e13f

Browse files
committed
Removed unnecessary define from IP6
1 parent a347202 commit 295e13f

File tree

8 files changed

+6
-46
lines changed

8 files changed

+6
-46
lines changed

examples/Inkplate10/Projects/Quotables_Example/Network.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ void Network::begin()
5757
}
5858
}
5959
Serial.println(F(" connected"));
60+
6061
}
6162

6263
bool Network::getData(char* text, char* auth)
@@ -161,4 +162,4 @@ bool Network::getData(char* text, char* auth)
161162
WiFi.setSleep(sleep);
162163

163164
return !f;
164-
}
165+
}

examples/Inkplate10/Projects/Quotables_Example/Network.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,10 @@
2020
#include <WiFi.h>
2121
#include <WiFiClientSecure.h>
2222

23-
// To get timeZone from main file
24-
extern int timeZone;
25-
2623
// Wifi ssid and password
2724
extern char ssid[];
2825
extern char pass[];
2926

30-
struct channelInfo
31-
{
32-
char name[64];
33-
uint32_t subscribers;
34-
uint32_t total_views;
35-
uint16_t video_count;
36-
};
37-
3827
#ifndef NETWORK_H
3928
#define NETWORK_H
4029

examples/Inkplate6/Projects/Quotables_Example/Network.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@
2424
extern char ssid[];
2525
extern char pass[];
2626

27-
struct channelInfo
28-
{
29-
char name[64];
30-
uint32_t subscribers;
31-
uint32_t total_views;
32-
uint16_t video_count;
33-
};
34-
3527
#ifndef NETWORK_H
3628
#define NETWORK_H
3729

examples/Inkplate6COLOR/Projects/Quotables_Example/Network.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ void Network::begin()
5757
}
5858
}
5959
Serial.println(F(" connected"));
60+
6061
}
6162

6263
bool Network::getData(char* text, char* auth)
@@ -161,4 +162,4 @@ bool Network::getData(char* text, char* auth)
161162
WiFi.setSleep(sleep);
162163

163164
return !f;
164-
}
165+
}

examples/Inkplate6COLOR/Projects/Quotables_Example/Network.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,10 @@
2020
#include <WiFi.h>
2121
#include <WiFiClientSecure.h>
2222

23-
// To get timeZone from main file
24-
extern int timeZone;
25-
2623
// Wifi ssid and password
2724
extern char ssid[];
2825
extern char pass[];
2926

30-
struct channelInfo
31-
{
32-
char name[64];
33-
uint32_t subscribers;
34-
uint32_t total_views;
35-
uint16_t video_count;
36-
};
37-
3827
#ifndef NETWORK_H
3928
#define NETWORK_H
4029

examples/Inkplate6PLUS/Projects/Quotables_Example/Network.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ void Network::begin()
5757
}
5858
}
5959
Serial.println(F(" connected"));
60+
6061
}
6162

6263
bool Network::getData(char* text, char* auth)
@@ -161,4 +162,4 @@ bool Network::getData(char* text, char* auth)
161162
WiFi.setSleep(sleep);
162163

163164
return !f;
164-
}
165+
}

examples/Inkplate6PLUS/Projects/Quotables_Example/Network.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,10 @@
2020
#include <WiFi.h>
2121
#include <WiFiClientSecure.h>
2222

23-
// To get timeZone from main file
24-
extern int timeZone;
25-
2623
// Wifi ssid and password
2724
extern char ssid[];
2825
extern char pass[];
2926

30-
struct channelInfo
31-
{
32-
char name[64];
33-
uint32_t subscribers;
34-
uint32_t total_views;
35-
uint16_t video_count;
36-
};
37-
3827
#ifndef NETWORK_H
3928
#define NETWORK_H
4029

src/boards/Inkplate6.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,9 @@ bool Inkplate::begin(void)
4040

4141
Wire.begin();
4242

43-
#ifndef ARDUINO_INKPLATECOLOR
4443
for (uint32_t i = 0; i < 256; ++i)
4544
pinLUT[i] = ((i & B00000011) << 4) | (((i & B00001100) >> 2) << 18) | (((i & B00010000) >> 4) << 23) |
4645
(((i & B11100000) >> 5) << 25);
47-
#endif
4846

4947
#ifdef ARDUINO_ESP32_DEV
5048
digitalWriteInternal(MCP23017_INT_ADDR, mcpRegsInt, 9, HIGH);

0 commit comments

Comments
 (0)