From bcc616acdedc0cc55adc055790b8eaa40ad2101a Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Tue, 13 Feb 2018 16:19:16 +0000 Subject: [PATCH] fixed the wrong buggy argument to hcl_decode() in main.c --- lib/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.c b/lib/main.c index 3620a1c..f52817a 100644 --- a/lib/main.c +++ b/lib/main.c @@ -1656,7 +1656,7 @@ int main (int argc, char* argv[]) } else if (xtn->reader_istty) { - hcl_decode (hcl, code_offset, hcl->code.bc.len - code_offset); + hcl_decode (hcl, code_offset, hcl->code.bc.len); HCL_LOG0 (hcl, HCL_LOG_MNEMONIC, "------------------------------------------\n"); g_hcl = hcl; //setup_tick ();