update_allowed_flash_current
rc = update_allowed_flash_current(led, &led->flash_current_ma, state);
rc = update_allowed_flash_current(led, ¤t_ma, enable);