Skip to content

Commit

Permalink
v1.3.9 (#69)
Browse files Browse the repository at this point in the history
* remove note-c before re-add
* Squashed 'src/note-c/' content from commit 27fdad1
git-subtree-dir: src/note-c
git-subtree-split: 27fdad1b2ec08637c8caacfa0d747bb2faf6e180

* rls: v1.3.9

version 1.3.8 missed because of library properties file
- resolves user-agent bug
- adds `B0` and `CS` (shared pin) defines for Swan
  • Loading branch information
zfields authored Nov 14, 2021
1 parent 491be3d commit 549aeac
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Blues Wireless Notecard
version=1.3.7
version=1.3.9
author=Blues Wireless
maintainer=Blues Wireless <[email protected]>
sentence=An easy to use Notecard Library for Arduino.
Expand Down
12 changes: 12 additions & 0 deletions src/Notecard.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,18 @@
#endif
#define D13 13

#elif defined(ARDUINO_SWAN_R5)

#ifdef CS
#undef CS
#endif
#define CS PD0

#ifdef B0
#undef B0
#endif
#define B0 CS

#else

#ifndef D5
Expand Down
2 changes: 1 addition & 1 deletion src/note-c/n_cjson_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ bool JGetBinaryFromObject(J *rsp, const char *fieldName, uint8_t **retBinaryData
uint32_t actualLen = JB64Decode(p, payload);

// Return the binary to the caller
*retBinaryData = p;
*retBinaryData = (uint8_t *)p;
*retBinaryDataLen = actualLen;
return true;

Expand Down

0 comments on commit 549aeac

Please sign in to comment.