diff --git a/source/Core/BSP/Magic/Pins.h b/source/Core/BSP/Magic/Pins.h index be13d49b..45ff2565 100644 --- a/source/Core/BSP/Magic/Pins.h +++ b/source/Core/BSP/Magic/Pins.h @@ -10,7 +10,7 @@ #include "bl702_adc.h" #include "hal_gpio.h" -#define KEY_B_Pin GPIO_PIN_25 +#define KEY_B_Pin GPIO_PIN_28 #define TMP36_INPUT_Pin GPIO_PIN_20 #define TMP36_ADC_CHANNEL ADC_CHAN10 #define TIP_TEMP_Pin GPIO_PIN_19 @@ -22,7 +22,7 @@ #define VIN_Pin GPIO_PIN_18 #define VIN_ADC_CHANNEL ADC_CHAN8 #define OLED_RESET_Pin GPIO_PIN_3 -#define KEY_A_Pin GPIO_PIN_28 +#define KEY_A_Pin GPIO_PIN_25 #define PWM_Out_Pin GPIO_PIN_21 #define PWM_Channel PWM_CH1 #define SCL_Pin GPIO_PIN_11 diff --git a/source/Core/BSP/Magic/configuration.h b/source/Core/BSP/Magic/configuration.h index da4b437f..75060750 100644 --- a/source/Core/BSP/Magic/configuration.h +++ b/source/Core/BSP/Magic/configuration.h @@ -104,7 +104,7 @@ #define ANIMATION_LOOP 1 // 0: off 1: on #define ANIMATION_SPEED settingOffSpeed_t::MEDIUM -#define OP_AMP_Rf_Pinecil 750 * 1000 // 750 Kilo-ohms -> From schematic, R1 +#define OP_AMP_Rf_Pinecil 850 * 1000 // 750 Kilo-ohms -> From schematic, R1 #define OP_AMP_Rin_Pinecil 2370 // 2.37 Kilo-ohms -> From schematic, R2 #define OP_AMP_GAIN_STAGE_PINECIL (1 + (OP_AMP_Rf_Pinecil / OP_AMP_Rin_Pinecil))