@@ -580,17 +580,17 @@ void LianLiUniHub_AL10Controller::Synchronize()
580580 \*--------------------------------------------------------------------*/
581581// uint8_t control = 0;
582582
583- // /*-------------------------------------*\
584- // | Configure fan settings |
585- // \*-------------------------------------*/
583+ /* -------------------------------------*\
584+ | Configure fan settings |
585+ \*-------------------------------------*/
586586// for(const Channel& channel : channels)
587587// {
588588// if(channel.fanSpeed == UNIHUB_AL10_FAN_SPEED_PWM)
589589// {
590- // /*-----------------------------*\
591- // | Configure the fan to pwm |
592- // | control |
593- // \*-----------------------------*/
590+ /* -----------------------------*\
591+ | Configure the fan to pwm |
592+ | control |
593+ \*-----------------------------*/
594594// uint8_t config_pwm[1] = { 0x00 };
595595
596596// control |= (0x01 << channel.index);
@@ -600,20 +600,20 @@ void LianLiUniHub_AL10Controller::Synchronize()
600600// }
601601// else
602602// {
603- // /*-----------------------------*\
604- // | Configure the fan to hub |
605- // | control and set speed |
606- // \*-----------------------------*/
603+ /* -----------------------------*\
604+ | Configure the fan to hub |
605+ | control and set speed |
606+ \*-----------------------------*/
607607// uint8_t config_hub[2] = { (uint8_t)(channel.fanSpeed >> 0x08), (uint8_t)(channel.fanSpeed & 0xFF) };
608608
609609// SendConfig(channel.fanHubActionAddress, config_hub, sizeof(config_hub));
610610// SendCommit(channel.fanHubCommitAddress);
611611// }
612612// }
613613
614- // /*-------------------------------------*\
615- // | Configure fan control modes |
616- // \*-------------------------------------*/
614+ /* -------------------------------------*\
615+ | Configure fan control modes |
616+ \*-------------------------------------*/
617617// uint8_t config_fan_mode[2] = { 0x31, (uint8_t)(0xF0 | control) };
618618
619619// SendConfig(UNIHUB_AL10_ACTION_ADDRESS, config_fan_mode, sizeof(config_fan_mode));
0 commit comments