Skip to content

Commit fc47389

Browse files
authored
Merge pull request #25 from hideakitai/feature/disable-network-interface
Feature/disable network interface
2 parents b507970 + 4ea16c8 commit fc47389

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

MsgPacketizer.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@
1717
#endif
1818
#endif
1919

20+
#ifdef MSGPACKETIZER_DISABLE_NETWORK
21+
#define PACKETIZER_DISABLE_NETWORK
22+
#else
2023
#if defined(MSGPACKETIZER_ENABLE_ETHER) || defined(MSGPACKETIZER_ENABLE_WIFI)
2124
#define MSGPACKETIZER_ENABLE_NETWORK
2225
#include <Udp.h>
2326
#include <Client.h>
2427
#endif
28+
#endif // MSGPACKETIZER_DISABLE_NETWORK
2529

2630
#if ARX_HAVE_LIBSTDCPLUSPLUS >= 201103L // Have libstdc++11
2731
// use standard c++ libraries

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"url": "https://github.com/hideakitai",
1212
"maintainer": true
1313
},
14-
"version": "0.5.2",
14+
"version": "0.5.3",
1515
"license": "MIT",
1616
"frameworks": "arduino",
1717
"platforms": "*",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=MsgPacketizer
2-
version=0.5.2
2+
version=0.5.3
33
author=hideakitai
44
maintainer=hideakitai
55
sentence=msgpack based serializer and deserializer with packetize for Arduino and more

0 commit comments

Comments
 (0)