добавила значение НЕПИН

This commit is contained in:
klassents committed 2025-03-12 15:47:34 +07:00
1 parent d3b93e55bd
commit 348d9b2f69
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ static void __attribute__((noinline, section(".ram_text"))) mik32Show(GPIO_TypeD
// not support 400khz
if (!is800KHz) return;
if ((m_port != NULL) && (m_pin != NC))
if ((m_port != NULL) && (m_pin != NOT_A_PIN))
{
volatile uint32_t* set = &m_port->SET;
volatile uint32_t* clr = &m_port->CLEAR;