Add default tilt sensitivity get function
Added `relay_chn_tilt_get_default_sensitivity` function and test cases. Refs #1085 and fixes #1101
This commit is contained in:
@@ -199,6 +199,11 @@ static void relay_chn_tilt_issue_auto(relay_chn_tilt_ctl_t *tilt_ctl)
|
||||
}
|
||||
}
|
||||
|
||||
uint8_t relay_chn_tilt_get_default_sensitivity()
|
||||
{
|
||||
return RELAY_CHN_TILT_DEFAULT_SENSITIVITY;
|
||||
}
|
||||
|
||||
|
||||
#if CONFIG_RELAY_CHN_COUNT > 1
|
||||
static void relay_chn_tilt_issue_cmd_on_all_channels(relay_chn_tilt_cmd_t cmd)
|
||||
|
||||
Reference in New Issue
Block a user