fix smaller bugs in Menu code and implement first test of main menu with one functional sunbmenu for the safety parameters
This commit is contained in:
@@ -239,11 +239,10 @@ static shellmatta_retCode_t shell_cmd_rot(const shellmatta_handle_t handle,
|
||||
(void)length;
|
||||
|
||||
uint32_t rot_val;
|
||||
int32_t delta;
|
||||
|
||||
rot_val = rotary_encoder_get_abs_val();
|
||||
delta = rotary_encoder_get_change_val();
|
||||
shellmatta_printf(handle, "Rotary encoder value: %u, delta: %d\r\n", rot_val, delta);
|
||||
//delta = rotary_encoder_get_change_val();
|
||||
shellmatta_printf(handle, "Rotary encoder value: %u\r\n", rot_val);
|
||||
|
||||
return SHELLMATTA_OK;
|
||||
}
|
||||
|
Reference in New Issue
Block a user