Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#9457 - Replace multiple usage of the same condition with a locally defined symbol

Attached to Project: Rockbox
Opened by Alexander Levin (fml2) - Sunday, 05 October 2008, 12:09 GMT+2
Last edited by Frank Gevaerts (fg) - Wednesday, 15 October 2008, 21:05 GMT+2
Task Type Patches
Category Drivers
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

In ata.c, the same condition is used to include/exclude some parts of code. This patch conditionally defines a symbol and uses it instead.
   ata_usb.patch (2.4 KiB)
 firmware/drivers/ata.c |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

This task depends upon

Closed by  Frank Gevaerts (fg)
Wednesday, 15 October 2008, 21:05 GMT+2
Reason for closing:  Accepted

Loading...