Skip to content

Commit 5479f51

Browse files
Added a way to import wifidrv code from outside
1 parent 5e3622b commit 5479f51

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ paragraph=With this library you can instantiate Servers, Clients and send/receiv
77
category=Communication
88
url=http://www.arduino.cc/en/Reference/WiFiNINA
99
architectures=samd,mbed_rp2040,megaavr
10-
includes=WiFiNINA.h
10+
includes=WiFiNINA.h,WiFiDRV.h

src/WiFiDRV.h

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*
2+
This file is part of the WiFiNINA library.
3+
Copyright (c) 2018 Arduino SA. All rights reserved.
4+
5+
This library is free software; you can redistribute it and/or
6+
modify it under the terms of the GNU Lesser General Public
7+
License as published by the Free Software Foundation; either
8+
version 2.1 of the License, or (at your option) any later version.
9+
10+
This library is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
14+
15+
You should have received a copy of the GNU Lesser General Public
16+
License along with this library; if not, write to the Free Software
17+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18+
*/
19+
20+
#ifndef WIFIDRV_H
21+
#define WIFIDRV_H
22+
23+
#include "utility/wifi_drv.h"
24+
25+
#endif // WIFIDRV_H

0 commit comments

Comments
 (0)