mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
armbox: fix write value hex
Origin commit data
------------------
Branch: master
Commit: f671948d74
Author: max_10 <max_10@gmx.de>
Date: 2017-12-04 (Mon, 04 Dec 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user