aboutsummaryrefslogtreecommitdiffstats
path: root/ucs2-interface/ucs_vol_interf.c
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-27 17:18:55 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-06-27 17:19:56 +0200
commit1fe55667142158af865372a8b9916581662286fe (patch)
tree797b285d187938f2bf1ff60eec555a14b126c259 /ucs2-interface/ucs_vol_interf.c
parentbbe0fa2bb0479bf7a09eed345fefc3c375773745 (diff)
Change marketing stuff
unicens -> UNICENS MicroChip -> Microchip Change-Id: I7a2f48ac62f44579831ed252b5e24dc918c09645 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ucs2-interface/ucs_vol_interf.c')
-rw-r--r--ucs2-interface/ucs_vol_interf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ucs2-interface/ucs_vol_interf.c b/ucs2-interface/ucs_vol_interf.c
index fc2952e..f681ba4 100644
--- a/ucs2-interface/ucs_vol_interf.c
+++ b/ucs2-interface/ucs_vol_interf.c
@@ -34,7 +34,7 @@ static UCSI_channelsT ucsiChannels[] = {
{.name= "CENTER" , .numid= (int)LIB_MOST_VOLUME_CH_CENTER},
{.name= "SUB" , .numid= (int)LIB_MOST_VOLUME_CH_SUB},
{.name= "MASTER" , .numid= (int)LIB_MOST_VOLUME_MASTER},
-
+
{.name= NULL}
};
@@ -46,13 +46,13 @@ void UCSI_Vol_Service (UCSI_Data_t *pPriv) {
UCSI_channelsT *UCSI_Vol_Init (UCSI_Data_t *pPriv, UCSI_VolumeServiceCB_t serviceCB) {
int err;
- err = lib_most_volume_init(pPriv->unicens, (lib_most_volume_service_cb_t) serviceCB);
+ err = lib_most_volume_init(pPriv->UNICENS, (lib_most_volume_service_cb_t) serviceCB);
if (err) return (NULL);
else return (ucsiChannels);
}
uint8_t UCSI_Vol_Set(UCSI_Data_t *pPriv, int numid, uint8_t volume) {
-
+
return (lib_most_volume_set((enum lib_most_volume_channel_t)numid, volume));
}