Skip to content

Commit c34856b

Browse files
committed
DRV8323S oc latch shutdown by default
1 parent 7c6f1dd commit c34856b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hwconf/drv8323s.h

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ void drv8323s_write_reg(int reg, int data);
3535

3636
#define HW_RESET_DRV_FAULTS() drv8323s_reset_faults()
3737

38+
#ifndef MCCONF_M_DRV8301_OC_MODE
39+
#define MCCONF_M_DRV8301_OC_MODE DRV8301_OC_LATCH_SHUTDOWN // DRV8301 over current protection mode
40+
#endif
41+
3842
// Defines
3943
#define DRV8323S_FAULT_FET_LC_OC (1 << 0)
4044
#define DRV8323S_FAULT_FET_HC_OC (1 << 1)

0 commit comments

Comments
 (0)