Consolidate all checks of led_mode to leds.pde Add #defines for bitmasks comparisons Some formatting changes