File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -449,9 +449,9 @@ void vEFuses(ULONG thread_input) {
449449 case EF_ON : efuse_enable (EFUSE_PUMP1 ); break ;
450450 case EF_OFF : efuse_disable (EFUSE_PUMP1 ); break ;
451451 case EF_AUTO :
452- if (motor_temp >= PUMP1_UPPERBOUND ) {
452+ if (controller_temp >= PUMP1_UPPERBOUND ) {
453453 efuse_enable (EFUSE_PUMP1 );
454- } else if (motor_temp <= PUMP1_LOWERBOUND ) {
454+ } else if (controller_temp <= PUMP1_LOWERBOUND ) {
455455 efuse_disable (EFUSE_PUMP1 );
456456 }
457457 break ;
@@ -465,9 +465,9 @@ void vEFuses(ULONG thread_input) {
465465 case EF_ON : efuse_enable (EFUSE_PUMP2 ); break ;
466466 case EF_OFF : efuse_disable (EFUSE_PUMP2 ); break ;
467467 case EF_AUTO :
468- if (controller_temp >= PUMP2_UPPERBOUND ) {
468+ if (motor_temp >= PUMP2_UPPERBOUND ) {
469469 efuse_enable (EFUSE_PUMP2 );
470- } else if (controller_temp <= PUMP2_LOWERBOUND ) {
470+ } else if (motor_temp <= PUMP2_LOWERBOUND ) {
471471 efuse_disable (EFUSE_PUMP2 );
472472 }
473473 break ;
You can’t perform that action at this time.
0 commit comments