From 551c74da55dc15238e76713d7477e7e4bfda60ef Mon Sep 17 00:00:00 2001 From: Tomasz Moń Date: Thu, 10 Jun 2021 08:43:32 +0200 Subject: Sansa Connect: Remove fake battery voltage scale Use battery percentage as reported by AVR. Change-Id: Id697d460b240798eb0b103f9e1f419906b87e9ca --- firmware/export/config/sansaconnect.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'firmware/export/config') diff --git a/firmware/export/config/sansaconnect.h b/firmware/export/config/sansaconnect.h index 5ae2be1b16..016c8d108d 100644 --- a/firmware/export/config/sansaconnect.h +++ b/firmware/export/config/sansaconnect.h @@ -147,7 +147,7 @@ #define BATTERY_CAPACITY_INC 100 /* capacity increment */ #define BATTERY_TYPES_COUNT 1 /* only one type */ -#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE +#define CONFIG_BATTERY_MEASURE PERCENTAGE_MEASURE /* define current usage levels */ #if 0 @@ -156,9 +156,6 @@ #define CURRENT_BACKLIGHT 200 #endif -/* Hardware controlled charging with monitoring */ -//#define CONFIG_CHARGING CHARGING_MONITOR - #define CONFIG_CPU DM320 #define CONFIG_I2C I2C_DM320 -- cgit v1.2.3