diff --git a/firmware/export/config/gogearhdd6330.h b/firmware/export/config/gogearhdd6330.h index b822316172..fc326dac89 100644 --- a/firmware/export/config/gogearhdd6330.h +++ b/firmware/export/config/gogearhdd6330.h @@ -157,7 +157,7 @@ #define CONFIG_I2C I2C_PP5020 /* define this if the hardware can be powered off while charging */ -#define HAVE_POWEROFF_WHILE_CHARGING +/* #define HAVE_POWEROFF_WHILE_CHARGING */ /* The start address index for ROM builds */ #define ROM_START 0x00000000 diff --git a/firmware/target/arm/philips/power-hdd.c b/firmware/target/arm/philips/power-hdd.c index 9f1c047a1e..0eb67c421b 100644 --- a/firmware/target/arm/philips/power-hdd.c +++ b/firmware/target/arm/philips/power-hdd.c @@ -27,6 +27,7 @@ #include "power.h" #include "logf.h" #include "usb.h" +#include "backlight-target.h" #include "synaptics-mep.h" void power_init(void) @@ -110,6 +111,8 @@ bool ide_powered(void) void power_off(void) { + _backlight_off(); + /* power off bit */ GPIOB_ENABLE |= 0x80; GPIOB_OUTPUT_VAL &= ~0x80;