diff options
Diffstat (limited to 'src/glutt-o-logique/pio.c')
-rw-r--r-- | src/glutt-o-logique/pio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glutt-o-logique/pio.c b/src/glutt-o-logique/pio.c index 5e5baf2..08a5905 100644 --- a/src/glutt-o-logique/pio.c +++ b/src/glutt-o-logique/pio.c @@ -329,10 +329,10 @@ void pio_set_fax(int on) void pio_set_det_1750(int on) { if (on) { - GPIO_ResetBits(GPIOA, GPIOA_PIN_DET_1750); + GPIO_SetBits(GPIOA, GPIOA_PIN_DET_1750); } else { - GPIO_SetBits(GPIOA, GPIOA_PIN_DET_1750); + GPIO_ResetBits(GPIOA, GPIOA_PIN_DET_1750); } } |