mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Fix bug: can't build with Custom #175
This commit is contained in:
1 parent
0c90b7d95c
commit
ed0f15959b
3 files changed
+9
-2
No files matched your search
+3
-1
@@ -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
@@ -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
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user