kopia lustrzana https://github.com/Wren6991/PicoDVI
Avert some warnings
rodzic
297908dd27
commit
07e3b62582
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -270,6 +270,7 @@ DVIGFX1::~DVIGFX1(void) {
|
|||
}
|
||||
|
||||
static void mainloop1(struct dvi_inst *inst) {
|
||||
(void)inst; // Avoid compiler warning
|
||||
((DVIGFX1 *)gfxptr)->_mainloop();
|
||||
}
|
||||
|
||||
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue