add in bool for led flash

Change-Id: Ie493dd08b974df7f7512831d5c22d97658d86c9a