remove double semicolons (#21215)

old-commit-hash: d82fa763d8
commatwo_master
Dean Lee 4 years ago committed by GitHub
parent 426df0435b
commit 60c7e01d2d
  1. 2
      selfdrive/modeld/thneed/compile.cc
  2. 2
      selfdrive/ui/qt/sidebar.cc

@ -16,7 +16,7 @@ int main(int argc, char* argv[]) {
float state[TEMPORAL_SIZE] = {0};
float desire[DESIRE_LEN] = {0};
float traffic_convention[TRAFFIC_CONVENTION_LEN] = {0};
float *input = (float*)calloc(0x1000000, sizeof(float));;
float *input = (float*)calloc(0x1000000, sizeof(float));
mdl.addRecurrent(state, TEMPORAL_SIZE);
mdl.addDesire(desire, DESIRE_LEN);

@ -35,7 +35,7 @@ void Sidebar::drawMetric(QPainter &p, const QString &label, const QString &val,
Sidebar::Sidebar(QWidget *parent) : QFrame(parent) {
home_img = QImage("../assets/images/button_home.png").scaled(180, 180, Qt::KeepAspectRatio, Qt::SmoothTransformation);
settings_img = QImage("../assets/images/button_settings.png").scaled(settings_btn.width(), settings_btn.height(), Qt::IgnoreAspectRatio, Qt::SmoothTransformation);;
settings_img = QImage("../assets/images/button_settings.png").scaled(settings_btn.width(), settings_btn.height(), Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
connect(this, &Sidebar::valueChanged, [=] { update(); });

Loading…
Cancel
Save