X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=plugins%2Fradio%2Fradio-api.h;h=9b91ec69d9c410ccd5f38e521a0b1b2eda4f8637;hb=feccc5ea8af554fdb6961e5943b7570c4be8c409;hp=a08198acb370437aefcf47110185f9762c3e4610;hpb=3d28e7d00cd8641bf600d47ed0e3e7e57cb5b439;p=src%2Fapp-framework-binder.git diff --git a/plugins/radio/radio-api.h b/plugins/radio/radio-api.h index a08198ac..9b91ec69 100644 --- a/plugins/radio/radio-api.h +++ b/plugins/radio/radio-api.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015 "IoT.bzh" + * Copyright (C) 2015, 2016 "IoT.bzh" * Author "Manuel Bachmann" * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -39,7 +39,7 @@ typedef struct { /* private client context [will be destroyed when client leaves] */ typedef struct { radioDevT *radio; /* pointer to client radio */ - unsigned int idx; /* radio index within global array */ + int idx; /* radio index within global array */ Mode mode; /* radio mode: AM/FM */ float freq; /* radio frequency (Mhz) */ unsigned char mute; /* radio muted: 0(false)/1(true) */