Skip to content

Commit

Permalink
Fix debug string ImpulseAdventure#393
Browse files Browse the repository at this point in the history
  • Loading branch information
ImpulseAdventure committed Jul 4, 2021
1 parent cdb4769 commit 8a98cc6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/GUIslice_drv_adagfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2026,9 +2026,9 @@ void gslc_DrvDrawBmp24FromSD(gslc_tsGui* pGui,const char *filename, uint16_t x,
bool gslc_DrvDrawImage(gslc_tsGui* pGui,int16_t nDstX,int16_t nDstY,gslc_tsImgRef sImgRef)
{
#if defined(DBG_DRIVER)
char addr[6];
char addr[9];
GSLC_DEBUG_PRINT("DBG: DrvDrawImage() with ImgBuf address=","");
sprintf(addr,"%04X",(unsigned int)sImgRef.pImgBuf);
sprintf(addr,"%08X",(unsigned int)sImgRef.pImgBuf);
GSLC_DEBUG_PRINT("%s\n",addr);
#endif

Expand Down
4 changes: 2 additions & 2 deletions src/GUIslice_drv_m5stack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -782,9 +782,9 @@ void gslc_DrvDrawBmp24FromSD(gslc_tsGui* pGui,const char *filename, uint16_t x,
bool gslc_DrvDrawImage(gslc_tsGui* pGui,int16_t nDstX,int16_t nDstY,gslc_tsImgRef sImgRef)
{
#if defined(DBG_DRIVER)
char addr[6];
char addr[9];
GSLC_DEBUG_PRINT("DBG: DrvDrawImage() with ImgBuf address=","");
sprintf(addr,"%04X",(unsigned int)sImgRef.pImgBuf);
sprintf(addr,"%08X",(unsigned int)sImgRef.pImgBuf);
GSLC_DEBUG_PRINT("%s\n",addr);
#endif

Expand Down
4 changes: 2 additions & 2 deletions src/GUIslice_drv_tft_espi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -967,9 +967,9 @@ void gslc_DrvDrawBmp24FromSD(gslc_tsGui* pGui,const char *filename, uint16_t x,
bool gslc_DrvDrawImage(gslc_tsGui* pGui,int16_t nDstX,int16_t nDstY,gslc_tsImgRef sImgRef)
{
#if defined(DBG_DRIVER)
char addr[6];
char addr[9];
GSLC_DEBUG_PRINT("DBG: DrvDrawImage() with ImgBuf address=","");
sprintf(addr,"%04X",(unsigned int)sImgRef.pImgBuf);
sprintf(addr,"%08X",(unsigned int)sImgRef.pImgBuf);
GSLC_DEBUG_PRINT("%s\n",addr);
#endif

Expand Down
4 changes: 2 additions & 2 deletions src/GUIslice_drv_utft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -834,9 +834,9 @@ void gslc_DrvDrawBmp24FromSD(gslc_tsGui* pGui,const char *filename, uint16_t x,
bool gslc_DrvDrawImage(gslc_tsGui* pGui,int16_t nDstX,int16_t nDstY,gslc_tsImgRef sImgRef)
{
#if defined(DBG_DRIVER)
char addr[6];
char addr[9];
GSLC_DEBUG_PRINT("DBG: DrvDrawImage() with ImgBuf address=","");
sprintf(addr,"%04X",(unsigned int)sImgRef.pImgBuf);
sprintf(addr,"%08X",(unsigned int)sImgRef.pImgBuf);
GSLC_DEBUG_PRINT("%s\n",addr);
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/GUIslice_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// Define current release (X.Y.Z) & build number
// =======================================================================

#define GUISLICE_VER "0.16.1.0"
#define GUISLICE_VER "0.16.1.1"

#endif // _GUISLICE_VERSION_H_

0 comments on commit 8a98cc6

Please sign in to comment.