Skip to content

Гатин Ленар - #9

Open
GanjaMember wants to merge 1 commit into
DimaSolovyov:mainfrom
GanjaMember:develop
Open

Гатин Ленар#9
GanjaMember wants to merge 1 commit into
DimaSolovyov:mainfrom
GanjaMember:develop

Conversation

@GanjaMember

Copy link
Copy Markdown

No description provided.

Comment thread src/main.c
}

struct LEDSignature led = leds[cmd.led_id - 1];
GPIO_PinState pin_state = HAL_GPIO_ReadPin(led.GPIOx, led.GPIO_Pin);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Зачем нужно чтение пинна?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Чтобы повторно не исполнялась логика включения/выключения и вывода сообщения, если и так уже включено/выключено, но я так понимаю, это я сделал лишнее

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants