Proyecto ABInBev para la tarjeta Guaria 1/2.

Revision:
8:a174cef25049
Parent:
7:01141979e5f2
Child:
13:472d40c0fc6b
--- a/Program/gpio_exe.cpp	Mon Jul 04 23:23:01 2022 -0600
+++ b/Program/gpio_exe.cpp	Tue Jul 05 10:58:23 2022 -0600
@@ -170,7 +170,10 @@
         tick_fri_ics.detach();
         tick_fri_ics.attach(&send_fri_ics, 1800.0);
         if (functionality_fingerprint_reader) {
-            FP_Close();
+            #if FP_READER_GT521 == 1
+                FP_Close();
+            #else
+            #endif
             wait_us(1000000);
             #ifdef DEBUG_GPIO_CPP
                 myPC_debug.printf("GPIO - Pendiente apagar FP GT521Fx...\r\n");
@@ -298,7 +301,10 @@
             #endif
             tx_fmu130_message(gpio_buffer, &avl_uart);
             if (functionality_fingerprint_reader && functionality_force_driver_buclke) { ///// PENDIENTE
-                FP_Close();
+                #if FP_READER_GT521 == 1
+                    FP_Close();
+                #else
+                #endif
                 wait_us(1000000);
                 #ifdef DEBUG_GPIO_CPP
                     myPC_debug.printf("GPIO - Pendiente apagar FP GT521Fx...\r\n");