Skip to content

Commit

Permalink
Merge pull request #42 from Zondax/printable
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosala committed Nov 10, 2022
2 parents 82f1655 + 77462c4 commit 5008bbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/zxformat.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extern "C" {
#include "zxmacros.h"
#include "zxerror.h"

#define IS_PRINTABLE(c) ((c >= 0x20 && c <= 0x7e) || (c >= 0x80 && c <= 0xFF))
#define IS_PRINTABLE(c) (c >= 0x20 && c <= 0x7e)

#define NUM_TO_STR(TYPE) __Z_INLINE const char * TYPE##_to_str(char *data, int dataLen, TYPE##_t number) { \
if (dataLen < 2) return "Buffer too small"; \
Expand Down
2 changes: 1 addition & 1 deletion include/zxversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

#define ZXLIB_MAJOR 14
#define ZXLIB_MINOR 1
#define ZXLIB_PATCH 5
#define ZXLIB_PATCH 6

0 comments on commit 5008bbb

Please sign in to comment.