diff --git a/selfdrive/ui/sunnypilot/qt/offroad/settings/device_panel.cc b/selfdrive/ui/sunnypilot/qt/offroad/settings/device_panel.cc index 20a8a9aecd..36a56c9d88 100644 --- a/selfdrive/ui/sunnypilot/qt/offroad/settings/device_panel.cc +++ b/selfdrive/ui/sunnypilot/qt/offroad/settings/device_panel.cc @@ -12,7 +12,6 @@ #include "selfdrive/ui/qt/qt_window.h" DevicePanelSP::DevicePanelSP(SettingsWindowSP *parent) : DevicePanel(parent) { -#ifndef SUNNYPILOT QGridLayout *device_grid_layout = new QGridLayout(); device_grid_layout->setSpacing(30); device_grid_layout->setHorizontalSpacing(5); @@ -86,5 +85,4 @@ DevicePanelSP::DevicePanelSP(SettingsWindowSP *parent) : DevicePanel(parent) { } addItem(power_layout); -#endif }