        prev_ir_pwr = ir_pwr;
      }
  
      // Write to rtc once per minute when no ignition present
      if (!ignition && (cnt % 120 == 1)) {
        sync_time(panda, SyncTimeDir::TO_PANDA);
      }
    }
  }
  
 
</s> remove     if (ir_pwr != prev_ir_pwr || cnt % 100 == 0 || ir_pwr >= 50.0) {
 </s> add     if (ir_pwr != prev_ir_pwr || sm.frame % 100 == 0 || ir_pwr >= 50.0) { </s> remove     // exit if no pandas are connected
 </s> add  </s> remove       if (fan_speed != prev_fan_speed || cnt % 100 == 0) {
 </s> add       if (fan_speed != prev_fan_speed || sm.frame % 100 == 0) { </s> remove   #endif
 </s> add  </s> remove     // Disable ir_pwr on front frame timeout
    uint64_t cur_t = nanos_since_boot();
    if (cur_t - last_front_frame_t > 1e9) {
 </s> add     // Disable IR on input timeout
    if (nanos_since_boot() - last_driver_camera_t > 1e9) {
    if (!ignition && (sm.frame % 120 == 1)) {
        prev_ir_pwr = ir_pwr;
      }
  
      // Write to rtc once per minute when no ignition present
    if (!ignition && (sm.frame % 120 == 1)) {
        sync_time(panda, SyncTimeDir::TO_PANDA);
      }
    }
  }
  
keep keep keep keep replace keep keep keep keep keep
 boardd: misc cleanup (#28969)

* boardd cleanup

* no more front frame

* faster connect loop

* fix that on mac 
selfdrive/boardd/boardd.cc