[media] rc-core: lirc use unsigned int
Durations can never be negative, so it makes sense to consistently use unsigned int for LIRC transmission. Contrary to the initial impression, this shouldn't actually change the userspace API. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committad av
Mauro Carvalho Chehab

förälder
8a8cc952d3
incheckning
5588dc2b02
@@ -235,7 +235,7 @@ struct ene_device {
|
||||
bool tx_sample_pulse; /* current sample is pulse */
|
||||
|
||||
/* TX buffer */
|
||||
int *tx_buffer; /* input samples buffer*/
|
||||
unsigned *tx_buffer; /* input samples buffer*/
|
||||
int tx_pos; /* position in that bufer */
|
||||
int tx_len; /* current len of tx buffer */
|
||||
int tx_done; /* done transmitting */
|
||||
|
Referens i nytt ärende
Block a user