Remove wrong define for HiBy R3 Pro II BATTERY_DEV_NAME resulting in the device shutting down almost instantly.

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit ef31aae6f425c495f44c247303323d9da5f1b752
Author: Marc Aarts <[email protected]>
Date:   Mon Jan 19 16:58:02 2026 +0100

    Remove wrong define for HiBy R3 Pro II BATTERY_DEV_NAME resulting in the device shutting down almost instantly.
    
    Battery device name is 'battery' which is defaulted in hibylinux.h.
    
    Should fix FS#13760.
    
    Change-Id: I0aa3dc2c025fad94d70b37603ea42f93b442866e

diff --git a/firmware/export/config/hibyr3proii.h b/firmware/export/config/hibyr3proii.h
index d10b510943..32a30887c2 100644
--- a/firmware/export/config/hibyr3proii.h
+++ b/firmware/export/config/hibyr3proii.h
@@ -51,7 +51,6 @@
 
 /* Battery doesn't update its charging status, but the charger does. */
 #define POWER_DEV_NAME "mp2731-charger"
-#define BATTERY_DEV_NAME "mp2731-charger"
 
 /* Battery */
 #define BATTERY_TYPES_COUNT  1
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.