Felícito Manzano
/
DTK_Guaria2_ABInBev
Proyecto ABInBev para la tarjeta Guaria 1/2.
Diff: main.cpp
- Revision:
- 3:6e55713bc91d
- Parent:
- 2:1ef167d1b7b8
- Child:
- 4:9b1a4a9b2cdf
--- a/main.cpp Fri Jul 01 13:05:44 2022 -0600 +++ b/main.cpp Fri Jul 01 19:19:46 2022 +0000 @@ -33,7 +33,7 @@ #include "fireup_exe.hpp" #include "safety_tip_exe.hpp" #include "eeprom.h" -#include "flash_exe.cpp" +#include "flash_exe.hpp" #include "USBSerial.h" #include <ctype.h> @@ -43,14 +43,14 @@ * en base a la tarjeta para la que se compilará. Se tiene soporte para * las tarjetas NUCLEO F303K8, NUCLEO F091RC, ICS3 e ICS5. */ -#define DEBUG 1 +#define M_DEBUG 1 #if (ICS_BOARD_ID == 11) // Serial BufferedSerial avl_uart(BLE_TX, BLE_RX, 1024, 2); //! UART TTL para enlace con el equipo Teltonika FMU130. BufferedSerial voice_uart(TTL_VOICE_TX, TTL_VOICE_RX); //! UART TTL para comunicación con el módulo de voz JQ8400. BufferedSerial fingerprint(TTL_TX, TTL_RX); - #ifdef DEBUG + #ifdef M_DEBUG USBSerial myPC_debug; #endif @@ -321,7 +321,7 @@ //Flash boot_message(); - //flash_Booting(); + load_eepromVar(); // Configuración Inicial de Nivel de volumen. @@ -376,7 +376,7 @@ //! Verificar si se debe apagar el lector de huellas. if (fingerprint_flag_poweroff) { out3_gt521fx = out4_gt521fx = finterprint_flag_working = fingerprint_flag_poweroff = false; - #ifdef DEBUG + #ifdef M_DEBUG myPC_debug.printf("[MAIN] - OUT3:FALSE\r\n"); #endif }