Skip to content

Commit 96667c6

Browse files
author
brentru
committed
move set pins into airlift
1 parent 263dbc0 commit 96667c6

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

src/AdafruitIO.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ void errorCallback(char *err, uint16_t len)
3535
AIO_ERROR_PRINTLN();
3636
}
3737

38-
void AdafruitIO::airLiftPins(uint16_t ss, uint16_t ack, uint16_t rst)
39-
{
40-
airLiftPins(ss, ack, rst);
41-
}
4238

4339
void AdafruitIO::connect()
4440
{

src/AdafruitIO.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ class AdafruitIO {
7171
protected:
7272
//uint16_t _airlift_ss, _airlift_ack, _airlift_rst;
7373
virtual void _connect() = 0;
74-
virtual void airLiftPins(uint16_t ss, uint16_t ack, uint16_t rst) = 0;
7574
aio_status_t _status = AIO_IDLE;
7675
uint32_t _last_ping = 0;
7776

src/AdafruitIO_AIRLIFT.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class AdafruitIO_AIRLIFT : public AdafruitIO {
5555
A reference to the WiFi network password.
5656
*/
5757
/**************************************************************************/
58-
AdafruitIO_AIRLIFT(const char *user, const char *key, const char *ssid, const char *pass):AdafruitIO(user, key)
58+
AdafruitIO_AIRLIFT(const char *user, const char *key, const char *ssid, const char *pass) : AdafruitIO(user, key)
5959
{
6060
_ssid = ssid;
6161
_pass = pass;

0 commit comments

Comments
 (0)