mirror of https://github.com/rusefi/bldc.git
Fix indentation, restore proper include to app_custom
This commit is contained in:
parent
36a3e458a0
commit
9deee721f5
|
@ -231,7 +231,7 @@ static THD_FUNCTION(adc_thread, arg) {
|
|||
} else {
|
||||
// When only one button input is available, use it differently depending on the control mode
|
||||
if (config.ctrl_type == ADC_CTRL_TYPE_CURRENT_REV_BUTTON ||
|
||||
config.ctrl_type == ADC_CTRL_TYPE_CURRENT_REV_BUTTON_BRAKE_CENTER ||
|
||||
config.ctrl_type == ADC_CTRL_TYPE_CURRENT_REV_BUTTON_BRAKE_CENTER ||
|
||||
config.ctrl_type == ADC_CTRL_TYPE_CURRENT_NOREV_BRAKE_BUTTON ||
|
||||
config.ctrl_type == ADC_CTRL_TYPE_DUTY_REV_BUTTON) {
|
||||
rev_button = !palReadPad(HW_ICU_GPIO, HW_ICU_PIN);
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "app.h"
|
||||
#include "conf_general.h"
|
||||
|
||||
#ifdef APP_CUSTOM_TO_USE
|
||||
#include APP_CUSTOM_TO_USE
|
||||
|
|
Loading…
Reference in New Issue