refactor(shell): Improve shell command naming and output formatting
- Renamed shell commands in and to be shorter and remove underscores (e.g., to ). - Consolidated get functions into a single show command for both valve and Modbus settings (e.g., , ). - Adjusted output formatting for show commands to be right-aligned and remove horizontal lines for better readability. - Fixed missing getter function implementations in and their declarations in . - Ensured is correctly selected in to make valve shell commands available.
This commit is contained in:
@@ -199,6 +199,16 @@ uint16_t valve_get_max_close_time(void)
|
||||
return max_closing_time_s;
|
||||
}
|
||||
|
||||
uint16_t valve_get_end_current_threshold_open(void)
|
||||
{
|
||||
return end_current_threshold_open_ma;
|
||||
}
|
||||
|
||||
uint16_t valve_get_end_current_threshold_close(void)
|
||||
{
|
||||
return end_current_threshold_close_ma;
|
||||
}
|
||||
|
||||
int32_t valve_get_opening_current(void)
|
||||
{
|
||||
int32_t current;
|
||||
|
||||
Reference in New Issue
Block a user