diff --git a/src/systemcmds/hardfault_log/hardfault_log.c b/src/systemcmds/hardfault_log/hardfault_log.c index aefe55d8a5..04a98590ba 100644 --- a/src/systemcmds/hardfault_log/hardfault_log.c +++ b/src/systemcmds/hardfault_log/hardfault_log.c @@ -110,7 +110,7 @@ static int genfault(int fault) k = 1 / fault; /* This is not going to happen - * Enable divide by 0 fault generation + * Disable divide by 0 fault generation */ *pCCR &= ~0x10;