armbox: fix write value hex

Signed-off-by: Thilo Graf <dbt@novatux.de>

ax needs hex


Origin commit data
------------------
Branch: master
Commit: c0ef130e8e
Author: max_10 <max_10@gmx.de>
Date: 2017-12-04 (Mon, 04 Dec 2017)



------------------
This commit was generated by Migit
This commit is contained in:
max_10
2017-12-04 00:09:11 +01:00
committed by Thilo Graf
parent d86a07a4c2
commit 97ed1a86c8

View File

@@ -804,7 +804,7 @@ void cVideo::SetControl(int control, int value) {
}
if (p) {
char buf[20];
int len = snprintf(buf, sizeof(buf), "%d", value);
int len = snprintf(buf, sizeof(buf), "%x00\n", value);
if (len < (int) sizeof(buf))
proc_put(p, buf, len);
}