Обновление

This commit is contained in:
cfif 2026-04-06 15:14:57 +03:00
parent 05ae1da3b1
commit fee0985b9f
1 changed files with 1 additions and 2 deletions

3
Pwms.c
View File

@ -105,7 +105,6 @@ void Pwms_Init(tLoggerInterface *logger) {
PORT_InitType tInitStruct = {0}; PORT_InitType tInitStruct = {0};
//начало--------------------------PwmFront------------------------------------------------- //начало--------------------------PwmFront-------------------------------------------------
//начало--------------------------PwmFront------------------------------------------------- //начало--------------------------PwmFront-------------------------------------------------
//начало--------------------------PwmFront------------------------------------------------- //начало--------------------------PwmFront-------------------------------------------------
@ -216,7 +215,7 @@ void Pwms_Init(tLoggerInterface *logger) {
env->pwmFrontReservedIo = vPwmGetIo(&env->pwmFrontReserved); env->pwmFrontReservedIo = vPwmGetIo(&env->pwmFrontReserved);
// TPU_CH16: PortC 29: ALT6 // TPU_CH14: PortD 29: ALT6
tInitStruct.u32PortPins = PORT_PIN_29; tInitStruct.u32PortPins = PORT_PIN_29;
tInitStruct.uPortPinMux.u32PortPinMode = PORT_ALT6_FUNC_MODE; tInitStruct.uPortPinMux.u32PortPinMode = PORT_ALT6_FUNC_MODE;
PORT_InitPins(PORT_D, &tInitStruct); PORT_InitPins(PORT_D, &tInitStruct);