File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -634,6 +634,7 @@ Master::syncRead(InfoSyncReadInst_t* p_info, uint32_t timeout_ms)
634
634
}
635
635
}
636
636
}else if (p_info->packet .p_buf == nullptr && info_tx_packet_.inst_idx != DXL_INST_SYNC_READ){
637
+ p_info->packet .is_completed = false ;
637
638
err = DXL_LIB_ERROR_NOT_INITIALIZED;
638
639
}
639
640
@@ -730,6 +731,7 @@ Master::syncWrite(InfoSyncWriteInst_t* p_info)
730
731
}
731
732
}
732
733
}else if (p_info->packet .p_buf == nullptr && info_tx_packet_.inst_idx != DXL_INST_SYNC_WRITE){
734
+ p_info->packet .is_completed = false ;
733
735
err = DXL_LIB_ERROR_NOT_INITIALIZED;
734
736
}
735
737
@@ -812,6 +814,7 @@ Master::bulkRead(InfoBulkReadInst_t* p_info, uint32_t timeout_ms)
812
814
}
813
815
}
814
816
}else if (p_info->packet .p_buf == nullptr && info_tx_packet_.inst_idx != DXL_INST_BULK_READ){
817
+ p_info->packet .is_completed = false ;
815
818
err = DXL_LIB_ERROR_NOT_INITIALIZED;
816
819
}
817
820
@@ -900,6 +903,7 @@ Master::bulkWrite(InfoBulkWriteInst_t* p_info)
900
903
}
901
904
}
902
905
}else if (p_info->packet .p_buf == nullptr && info_tx_packet_.inst_idx != DXL_INST_BULK_WRITE){
906
+ p_info->packet .is_completed = false ;
903
907
err = DXL_LIB_ERROR_NOT_INITIALIZED;
904
908
}
905
909
You can’t perform that action at this time.
0 commit comments