Cosmetics

This commit is contained in:
bsongis
2015-05-27 06:42:10 +02:00
parent 07c10f1256
commit f35148ed2d
+1 -3
View File
@@ -38,9 +38,7 @@ QStringList getAvrdudeArgs(const QString &cmd, const QString &filename)
QString mcu = bcd.getMCU();
args << "-c" << programmer << "-p";
if (GetEepromInterface()->getBoard() == BOARD_GRUVIN9X)
args << "m2560";
else if (GetEepromInterface()->getBoard() == BOARD_MEGA2560)
if (IS_2560(GetEepromInterface()->getBoard()))
args << "m2560";
else if (GetEepromInterface()->getBoard() == BOARD_M128)
args << "m128";