Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Cat-Ion committed Nov 17, 2020
1 parent fc3b3d0 commit bcea657
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/eez/modules/mcu/simulator/display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ static uint32_t *g_buffer;
static uint32_t *g_lastBuffer;

static bool g_takeScreenshot;
static int g_screenshotY;

////////////////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -533,7 +532,6 @@ void drawVLine(int x, int y, int l) {

void bitBlt(int x1, int y1, int x2, int y2, int dstx, int dsty) {
int width = x2 - x1 + 1;
int height = y2 - y1 + 1;

uint32_t *src = g_buffer + y1 * DISPLAY_WIDTH + x1;
uint32_t *dst = g_buffer + dsty * DISPLAY_WIDTH + dstx;
Expand Down
1 change: 0 additions & 1 deletion src/eez/mqtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,6 @@ const char *getClientId() {
#endif

#if defined(EEZ_PLATFORM_SIMULATOR)
static const char *CLIENT_ID = "BB3_Simulator";
sprintf(g_clientId, "BB3_Simulator_%s", getSerialNumber());
#endif
}
Expand Down

0 comments on commit bcea657

Please sign in to comment.