fix build with r47. Closes #119

This commit is contained in:
Dave Murphy 2017-07-17 19:26:03 +01:00 committed by d0k3
parent c60237a8c3
commit 1f69db1bdb

View File

@ -75,7 +75,7 @@ Gm9ScriptCmd cmd_list[] = {
{ CMD_ID_POWEROFF, "poweroff", 0, 0 }
};
inline bool strntohex(const char* str, u8* hex, u32 len) {
static inline bool strntohex(const char* str, u8* hex, u32 len) {
if (!len) {
len = strlen(str);
if (len%1) return false;