From 6034f83ccbdb6e3c32cb705ca7863cbafa1a8c7f Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 4 Jul 2016 12:43:37 -0300 Subject: [PATCH] test --- basilisk/basilisk_MSG.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basilisk/basilisk_MSG.c b/basilisk/basilisk_MSG.c index ce391cb02..9fb81d826 100755 --- a/basilisk/basilisk_MSG.c +++ b/basilisk/basilisk_MSG.c @@ -200,7 +200,7 @@ int32_t basilisk_message_returned(uint8_t *data,int32_t maxlen,cJSON *item) { if ( (hexstr= jstr(msgobj,"data")) != 0 && (datalen= is_hexstr(hexstr,0)) > 0 ) { - datalen <<= 1; + datalen >>= 1; if ( datalen < maxlen ) { decode_hex(data,datalen,hexstr);