This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
lora-irrigation
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix return to return false, not -1...
irr_shared
John-Mark Gurney
3 years ago
parent
0835e16706
commit
ecec669bf5
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
main.c
+ 1
- 1
main.c
View File
@@ -98,7 +98,7 @@ hexdecode(char *buf, size_t len, uint8_t *out)
uint8_t topchr, botchr;
if (len % 2)
return
-1
;
return
false
;
/* NB: only needed to silence a bad gcc warning */
topchr = -1;
Write
Preview
Loading…
Cancel
Save