minor changes: added delay function to radio.c and deactivate onboard leds if there aren't any