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.

Fix red: Revert the const correctness part, which opened a can of worms.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27780 a1c6a512-1295-4272-9138-f99709370657

+4 -4
+2 -2
firmware/export/usb_drv.h
··· 33 33 void usb_drv_int(void); /* Call from target INT handler */ 34 34 void usb_drv_stall(int endpoint, bool stall,bool in); 35 35 bool usb_drv_stalled(int endpoint,bool in); 36 - int usb_drv_send(int endpoint, const void* ptr, int length); 37 - int usb_drv_send_nonblocking(int endpoint, const void* ptr, int length); 36 + int usb_drv_send(int endpoint, void* ptr, int length); 37 + int usb_drv_send_nonblocking(int endpoint, void* ptr, int length); 38 38 int usb_drv_recv(int endpoint, void* ptr, int length); 39 39 void usb_drv_ack(struct usb_ctrlrequest* req); 40 40 void usb_drv_set_address(int address);
+2 -2
firmware/target/arm/usb-s3c6400x.c
··· 318 318 DOEPCTL(ep) |= 0x84000000; /* EPx OUT ENABLE CLEARNAK */ 319 319 } 320 320 321 - int usb_drv_send(int endpoint, const void *ptr, int length) 321 + int usb_drv_send(int endpoint, void *ptr, int length) 322 322 { 323 323 endpoint &= 0x7f; 324 324 endpoints[endpoint].done = false; ··· 328 328 return endpoints[endpoint].rc; 329 329 } 330 330 331 - int usb_drv_send_nonblocking(int endpoint, const void *ptr, int length) 331 + int usb_drv_send_nonblocking(int endpoint, void *ptr, int length) 332 332 { 333 333 ep_send(endpoint & 0x7f, ptr, length); 334 334 return 0;