Change gDebug type

This commit is contained in:
Armel FAUVEAU committed 2026-03-04 01:42:38 +01:00
1 parent 37fb4abd2e
commit 4b8f8cf22a
3 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -256,9 +256,9 @@ void PY25Q16_WriteBuffer(uint32_t Address, const void *pBuffer, uint32_t Size, b
printf("spi flash write: %06x %ld %d\n", Address, Size, Append);
#endif
#ifdef ENABLE_FEAT_F4HWN_DEBUG
gDebug++;
#endif
//#ifdef ENABLE_FEAT_F4HWN_DEBUG
// gDebug++;
//#endif
uint32_t SecIndex = Address / SECTOR_SIZE;
uint32_t SecAddr = SecIndex * SECTOR_SIZE;
+1 -1
View File
@@ -135,7 +135,7 @@ enum BacklightOnRxTx_t gSetting_backlight_on_tx_rx;
bool gSetting_set_tmr = 0;
bool gSetting_set_ptt_session;
#ifdef ENABLE_FEAT_F4HWN_DEBUG
uint16_t gDebug;
int16_t gDebug;
#endif
uint8_t gDW = 0;
uint8_t gCB = 0;
+1 -1
View File
@@ -197,7 +197,7 @@ extern enum BacklightOnRxTx_t gSetting_backlight_on_tx_rx;
extern bool gSetting_set_tmr;
extern bool gSetting_set_ptt_session;
#ifdef ENABLE_FEAT_F4HWN_DEBUG
extern uint16_t gDebug;
extern int16_t gDebug;
#endif
extern uint8_t gDW;
extern uint8_t gCB;