From 490acab22f3462ae0596402d5f5ddcaf45e5680e Mon Sep 17 00:00:00 2001 From: Cralex Date: Mon, 14 Nov 2022 16:37:42 -0700 Subject: [PATCH] Comment out battery until fixed, add likely SOC Asked r/esp32 on reddit about which esp32 model was used, as the metal shield that normally has the model printed on it was removed. --- components/retro-go/targets/mrgc-gbm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/retro-go/targets/mrgc-gbm.h b/components/retro-go/targets/mrgc-gbm.h index b875f7796..0a7c4c78a 100644 --- a/components/retro-go/targets/mrgc-gbm.h +++ b/components/retro-go/targets/mrgc-gbm.h @@ -14,7 +14,7 @@ // Parts: -// Unknown ESP-32 (Metal shield removed from module) (SOC) +// Unknown ESP-32 (Most likely ESP32-WROVER-B) (SOC) // Target definition @@ -66,7 +66,7 @@ #define RG_GAMEPAD_MAP_Y (0) // Battery -#define RG_BATTERY_ADC_CHANNEL ADC1_CHANNEL_0 // Default 0, commented out. +// #define RG_BATTERY_ADC_CHANNEL ADC1_CHANNEL_0 // Default 0, commented out. #define RG_BATTERY_CALC_PERCENT(raw) (((raw) - 170) / 30.f * 100.f) #define RG_BATTERY_CALC_VOLTAGE(raw) (0)