Skip to content

Commit

Permalink
Avert some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
PaintYourDragon committed Jun 21, 2023
1 parent 297908d commit 07e3b62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion software/include/common_dvi_pin_configs.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static const struct dvi_serialiser_cfg adafruit_dvibell_cfg = {
.sm_tmds = {0, 1, 2},
.pins_tmds = {10, 8, 6},
.pins_clk = 12,
.invert_diffpairs = false
.invert_diffpairs = false,
};

#endif
2 changes: 2 additions & 0 deletions src/PicoDVI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ DVIGFX1::~DVIGFX1(void) {
}

static void mainloop1(struct dvi_inst *inst) {
(void)inst; // Avoid compiler warning
((DVIGFX1 *)gfxptr)->_mainloop();
}

Expand Down Expand Up @@ -406,6 +407,7 @@ static void mainlooptext1(struct dvi_inst *inst) {
// since nothing important to do in idle func above.

static void __not_in_flash_func(mainlooptext1)(struct dvi_inst *inst) {
(void)inst; // Avoid compiler warning
((DVItext1 *)gfxptr)->_mainloop();
}

Expand Down

0 comments on commit 07e3b62

Please sign in to comment.