From: Pavel Pisa Date: Tue, 12 May 2015 10:01:02 +0000 (+0200) Subject: RoCoN: correct comparison and return logic in pxmc_process_state_check function. X-Git-Url: https://rtime.felk.cvut.cz/gitweb/fpga/lx-cpu1/lx-rocon.git/commitdiff_plain/4c18f0fb3dc2675cca4d62bf92a0b10157f3e0c0 RoCoN: correct comparison and return logic in pxmc_process_state_check function. Signed-off-by: Pavel Pisa --- diff --git a/sw/app/rocon/appl_pxmc.c b/sw/app/rocon/appl_pxmc.c index 1985785..6d44c8a 100644 --- a/sw/app/rocon/appl_pxmc.c +++ b/sw/app/rocon/appl_pxmc.c @@ -2528,7 +2528,7 @@ int pxmc_process_state_check(unsigned long *pbusy_bits, if (pbusy_bits != NULL) *pbusy_bits = busy_bits; - if (error_bits != NULL) + if (perror_bits != NULL) *perror_bits = error_bits; return flg;