change DG_DEFS_STATUS_T to BOOL
update led action according to specification