Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

mips: fix some compile warnings.

Change-Id: Ia5e83702313c1c184480290d3b0e6a66f01b7277

+11 -5
+6
apps/plugins/mpegplayer/video_out_rockbox.c
··· 371 371 uint8_t *yuv[3]; 372 372 struct vo_rect thumb_rc; 373 373 int thumb_width, thumb_height; 374 + #ifdef HAVE_LCD_COLOR 374 375 int thumb_uv_width, thumb_uv_height; 376 + #endif 375 377 376 378 /* Obtain rectangle as clipped to the screen */ 377 379 vo_rect_set_ext(&thumb_rc, 0, 0, LCD_WIDTH, LCD_HEIGHT); ··· 386 388 387 389 thumb_width = rc->r - rc->l; 388 390 thumb_height = rc->b - rc->t; 391 + #ifdef HAVE_LCD_COLOR 389 392 thumb_uv_width = thumb_width / 2; 390 393 thumb_uv_height = thumb_height / 2; 391 394 392 395 DEBUGF("thumb: w: %d h: %d uvw: %d uvh: %d\n", thumb_width, 393 396 thumb_height, thumb_uv_width, thumb_uv_height); 397 + #else 398 + DEBUGF("thumb: w: %d h: %d\n", thumb_width, thumb_height); 399 + #endif 394 400 395 401 /* Use remaining mpeg2 buffer as temp space */ 396 402 mem = mpeg2_get_buf(&bufsize);
+1 -2
firmware/target/mips/ingenic_jz47xx/ata-nand-jz4740.c
··· 341 341 static int jz_nand_read_page(unsigned long page_addr, unsigned char *dst) 342 342 { 343 343 struct nand_param *nandp = &internal_param; 344 - int page_size, oob_size, page_per_block; 344 + int page_size, oob_size; 345 345 int row_cycle, bus_width, ecc_count; 346 346 int i; 347 347 #ifdef USE_ECC ··· 355 355 356 356 page_size = nandp->page_size; 357 357 oob_size = nandp->oob_size; 358 - page_per_block = nandp->page_per_block; 359 358 row_cycle = nandp->row_cycle; 360 359 bus_width = nandp->bus_width; 361 360
+1 -2
firmware/target/mips/ingenic_jz47xx/ata-nand-jz4760.c
··· 340 340 static int jz_nand_read_page(unsigned long page_addr, unsigned char *dst) 341 341 { 342 342 struct nand_param *nandp = &internal_param; 343 - int page_size, oob_size, page_per_block; 343 + int page_size, oob_size; 344 344 int row_cycle, bus_width, ecc_count; 345 345 int i; 346 346 #ifdef USE_ECC ··· 351 351 352 352 page_size = nandp->page_size; 353 353 oob_size = nandp->oob_size; 354 - page_per_block = nandp->page_per_block; 355 354 row_cycle = nandp->row_cycle; 356 355 bus_width = nandp->bus_width; 357 356
+1
firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c
··· 110 110 111 111 dummy = REG_SADC_BATDAT; 112 112 dummy = REG_SADC_BATDAT; 113 + (void)dummy; 113 114 114 115 REG_SADC_ENA |= SADC_ENA_PBATEN; 115 116
+2 -1
firmware/target/mips/ingenic_jz47xx/onda_vx767/sadc-onda_vx767.c
··· 75 75 76 76 dummy = REG_SADC_BATDAT; 77 77 dummy = REG_SADC_BATDAT; 78 - 78 + (void)dummy; 79 + 79 80 REG_SADC_ENA |= SADC_ENA_PBATEN; 80 81 bat_val = 0; 81 82