Browse code

cnxcc: fixed kemi export for signature for ki_get_channel_count()

Daniel-Constantin Mierla authored on 20/01/2018 10:42:44
Showing 1 changed files
... ...
@@ -2133,7 +2133,7 @@ static sr_kemi_t sr_kemi_cnxcc_exports[] = {
2133 2133
 	},
2134 2134
 	{ str_init("cnxcc"), str_init("get_channel_count"),
2135 2135
 		SR_KEMIP_INT, ki_get_channel_count,
2136
-		{ SR_KEMIP_STR, SR_KEMIP_INT, SR_KEMIP_NONE,
2136
+		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE,
2137 2137
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
2138 2138
 	},
2139 2139
 	{ str_init("cnxcc"), str_init("terminate_all"),
... ...
@@ -2150,4 +2150,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
2150 2150
 {
2151 2151
 	sr_kemi_modules_add(sr_kemi_cnxcc_exports);
2152 2152
 	return 0;
2153
-}
2154 2153
\ No newline at end of file
2154
+}