Слияние кода из проекта для ПЛК с этим проектом

This commit is contained in:
2022-12-05 11:51:31 +03:00
parent ab2f574428
commit f04fb49a16
5 changed files with 76 additions and 13 deletions

View File

@@ -159,7 +159,7 @@ short can_move(struct barrel* bar) {
case ZONE_UNLOAD:
// последняя промывка, нужно разрешение на выгрузку
if (schedulerOneRobotMode && schedulerUnloadButton) {
if (schedulerOneRobotMode && button_unload) {
// нужно промывку загрузку 0
if (!zone_is_busy(ZONE_LOAD_1)) {
return ZONE_LOAD_1;
@@ -668,8 +668,8 @@ void scheduler_main() {
// }
// тут возможна только вставка барабанов
if (schedulerLoadButton2) {
schedulerLoadButton2 = create_barrel_in_load();
if (button_load) {
button_load = create_barrel_in_load();
}
if (schedulerSoftwareTimer) {