]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/lx-rocon.git/blobdiff - sw/app/rocon/appl_pxmc.c
PXMC: new function pxmc_axis_release added to distinguish between set zero output...
[fpga/lx-cpu1/lx-rocon.git] / sw / app / rocon / appl_pxmc.c
index c46c0d4c435a4de3cab65a746e939bee0066fcba..8d583a0025dfcdd90bd0cdc322ebae638cb69449 100644 (file)
@@ -2364,7 +2364,7 @@ pxmc_axis_mode(pxmc_state_t *mcs, int mode)
   int res;
   int prev_mode;
 
-  pxmc_set_const_out(mcs, 0);
+  pxmc_axis_release(mcs);
   pxmc_clear_flag(mcs, PXMS_ENI_b);
   pxmc_clear_flags(mcs,PXMS_ENO_m);
   /* Clear possible stall index flags from hardware */
@@ -2511,7 +2511,7 @@ int pxmc_done(void)
 
   pxmc_for_each_mcs(var, mcs)
   {
-    pxmc_set_const_out(mcs,0);
+    pxmc_axis_release(mcs);
   }
 
   pxmc_main_list.pxml_cnt = 0;