mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 14:37:02 +00:00
Fix mistake reading COS input pin using STM32F4 and STM32F7
This commit is contained in:
parent
e7b52023c6
commit
91e5d588b0
1 changed files with 1 additions and 1 deletions
|
|
@ -855,7 +855,7 @@ void CIO::interrupt()
|
|||
|
||||
bool CIO::getCOSInt()
|
||||
{
|
||||
return GPIO_ReadOutputDataBit(PORT_COS, PIN_COS) == Bit_SET;
|
||||
return GPIO_ReadInputDataBit(PORT_COS, PIN_COS) == Bit_SET;
|
||||
}
|
||||
|
||||
void CIO::setLEDInt(bool on)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue