aboutsummaryrefslogtreecommitdiff
path: root/src/rtos/embKernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtos/embKernel.c')
-rw-r--r--src/rtos/embKernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtos/embKernel.c b/src/rtos/embKernel.c
index 85c8d19..d70ae37 100644
--- a/src/rtos/embKernel.c
+++ b/src/rtos/embKernel.c
@@ -121,7 +121,7 @@ static int embkernel_create(struct target *target)
{
size_t i = 0;
while ((i < ARRAY_SIZE(embkernel_params_list)) &&
- (0 != strcmp(embkernel_params_list[i].target_name, target->type->name)))
+ (strcmp(embkernel_params_list[i].target_name, target->type->name) != 0))
i++;
if (i >= ARRAY_SIZE(embkernel_params_list)) {