Fixed diagnostic led bug.