Слияние кода из проекта для ПЛК с этим проектом
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user