Ignore:
Timestamp:
Feb 20, 2025, 4:39:55 PM (3 months ago)
Author:
Zed
Message:

Charging PWM on TIM1 was implemented.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ctrl/firmware/Main/SES/Core/Src/main_task.cpp

    r96 r98  
    1212#include "adc.h"
    1313#include "dts.h"
     14#include "tim.h"
     15
    1416
    1517
     
    5557
    5658        }
     59
     60        if (HAL_TIM_PWM_Start(&htim1, TIM_CHANNEL_1) != HAL_OK) Error_Handler();
     61        if (HAL_TIMEx_PWMN_Start(&htim1, TIM_CHANNEL_1) != HAL_OK) Error_Handler();
    5762
    5863        while(1)
Note: See TracChangeset for help on using the changeset viewer.