Merge branch 'develop' into refresh_rework

This commit is contained in:
Riku Isokoski
2021-08-03 12:16:40 +03:00
40 changed files with 340 additions and 232 deletions

View File

@@ -52,11 +52,10 @@ void Motion::Refresh() {
lv_label_set_text_fmt(labelStep, "Steps %lu", motionController.NbSteps());
lv_label_set_text_fmt(label, "X #FF0000 %d# Y #008000 %d# Z #FFFF00 %d#", motionController.X() / 0x10, motionController.Y() / 0x10, motionController.Z() / 0x10);
lv_label_set_text_fmt(label,
"X #FF0000 %d# Y #008000 %d# Z #FFFF00 %d#",
motionController.X() / 0x10,
motionController.Y() / 0x10,
motionController.Z() / 0x10);
lv_obj_align(label, NULL, LV_ALIGN_IN_TOP_MID, 0, 10);
}
bool Motion::OnButtonPushed() {
running = false;
return true;
}