aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/radio/radio-api.h
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2016-05-11 13:28:48 +0200
committerManuel Bachmann <manuel.bachmann@iot.bzh>2016-05-11 13:28:48 +0200
commit3303d82a7e637f7c15b55ee21d555df7b672ae81 (patch)
treef9e1a1f66da9a5e93c8d3f6722e89cb719f62f04 /plugins/radio/radio-api.h
parentf83af86907f072b8d58bc84acfb431682a9e3080 (diff)
Update Radio plugin, Media plugin
Radio and Media plugins are now ported to the new API and build again. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'plugins/radio/radio-api.h')
-rw-r--r--plugins/radio/radio-api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/radio/radio-api.h b/plugins/radio/radio-api.h
index a08198ac..162bd5df 100644
--- a/plugins/radio/radio-api.h
+++ b/plugins/radio/radio-api.h
@@ -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) */