old-commit-hash: ede75c9e9b
beeps
Robbe Derks 2 years ago committed by GitHub
parent e7743b6acd
commit edc8384d6f
  1. 4
      selfdrive/boardd/panda.cc

@ -13,11 +13,11 @@ Panda::Panda(std::string serial, uint32_t bus_offset) : bus_offset(bus_offset) {
// try USB first, then SPI // try USB first, then SPI
try { try {
handle = std::make_unique<PandaUsbHandle>(serial); handle = std::make_unique<PandaUsbHandle>(serial);
LOGW("conntected to %s over USB", serial.c_str()); LOGW("connected to %s over USB", serial.c_str());
} catch (std::exception &e) { } catch (std::exception &e) {
#ifndef __APPLE__ #ifndef __APPLE__
handle = std::make_unique<PandaSpiHandle>(serial); handle = std::make_unique<PandaSpiHandle>(serial);
LOGW("conntected to %s over SPI", serial.c_str()); LOGW("connected to %s over SPI", serial.c_str());
#endif #endif
} }

Loading…
Cancel
Save