1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

Swapped LED On and Off to proper set/reset function.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@75 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
gussy 2009-12-18 17:59:43 +00:00 committed by gussy
parent 313f3cceff
commit 38d98a26a6

View File

@ -62,7 +62,7 @@ void PIOS_LED_Init(void)
*/
void PIOS_LED_On(LedTypeDef LED)
{
LED_GPIO_PORT[LED]->BSRR = LED_GPIO_PIN[LED];
LED_GPIO_PORT[LED]->BRR = LED_GPIO_PIN[LED];
}
@ -72,7 +72,7 @@ void PIOS_LED_On(LedTypeDef LED)
*/
void PIOS_LED_Off(LedTypeDef LED)
{
LED_GPIO_PORT[LED]->BRR = LED_GPIO_PIN[LED];
LED_GPIO_PORT[LED]->BSRR = LED_GPIO_PIN[LED];
}