adjust vref voltage

This commit is contained in:
Teslafly 2023-03-10 00:45:16 -06:00
parent 961c09beb2
commit d66fecdb2c
2 changed files with 1 additions and 26 deletions

View File

@ -1,25 +0,0 @@
/*
Copyright 2018 Benjamin Vedder benjamin@vedder.se
This file is part of the VESC firmware.
The VESC firmware is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
The VESC firmware is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef HW_FSESC_75_300_H_
#define HW_FSESC_75_300_H_
#include "hw_fsesc_75_300_core.h"
#endif /* HW_FSESC_75_300_H_ */

View File

@ -120,7 +120,7 @@
// ADC macros and settings
// Component parameters (can be overridden)
#ifndef V_REG
#define V_REG 3.3
#define V_REG 3.413 // (jaykup) Updated from @1zuna's calculations.
#endif
#ifndef VIN_R1
#define VIN_R1 56000.0