diff --git a/board/main.c b/board/main.c index a758bf70520be8..e1d0570a684db6 100644 --- a/board/main.c +++ b/board/main.c @@ -302,11 +302,7 @@ int usb_cb_control_msg(USB_Setup_TypeDef *setup, uint8_t *resp, bool hardwired) break; // **** 0xb1: set fan power case 0xb1: - if(power_save_status == POWER_SAVE_STATUS_DISABLED){ - current_board->set_fan_power(setup->b.wValue.w); - } else { - puts("Setting fan power not allowed in power saving mode\n"); - } + current_board->set_fan_power(setup->b.wValue.w); break; // **** 0xb2: get fan rpm case 0xb2: diff --git a/board/power_saving.h b/board/power_saving.h index 3ee2170d71cf6a..f7e42371aa2188 100644 --- a/board/power_saving.h +++ b/board/power_saving.h @@ -49,10 +49,9 @@ void set_power_save_state(int state) { set_gpio_output(GPIOA, 14, enable); } - // Switch off IR and fan when in power saving + // Switch off IR when in power saving if(!enable){ current_board->set_ir_power(0U); - current_board->set_fan_power(0U); } power_save_status = state;