Fix bug: can't build with Custom #175

This commit is contained in:
Armel FAUVEAU committed 2026-02-26 05:41:49 +01:00
1 parent 0c90b7d95c
commit ed0f15959b
3 files changed
+9 -2

No files matched your search

+3 -1
View File
@@ -164,7 +164,9 @@ void ST7565_DrawLine(const unsigned int Column, const unsigned int Line, const u
void ST7565_BlitLine(unsigned line)
{
ST7565_BlitScreen(line + 1);
getScreenShot(true); // Force immediate capture
#ifdef ENABLE_FEAT_F4HWN_SCREENSHOT
getScreenShot(true); // Force immediate capture
#endif
}
void ST7565_BlitStatusLine(void)
+3 -1
View File
@@ -45,6 +45,7 @@ void VCP_Init()
NVIC_EnableIRQ(USBD_IRQn);
}
#ifdef ENABLE_FEAT_F4HWN_SCREENSHOT
bool VCP_ScreenshotPing(void)
{
// State machine for parsing incoming packets:
@@ -144,4 +145,5 @@ bool VCP_ScreenshotPing(void)
}
return connected;
}
}
#endif // ENABLE_FEAT_F4HWN_SCREENSHOT
+3
View File
@@ -28,7 +28,10 @@ extern uint8_t VCP_RxBuf[VCP_RX_BUF_SIZE];
extern volatile uint32_t VCP_RxBufPointer;
void VCP_Init();
#ifdef ENABLE_FEAT_F4HWN_SCREENSHOT
bool VCP_ScreenshotPing(void);
#endif
static inline void VCP_Send(const uint8_t *Buf, uint32_t Size)
{