184 @return tuple containing the selected chip type, the firmware size, |
184 @return tuple containing the selected chip type, the firmware size, |
185 the baud rate or flashing, the flash mode and the path of the |
185 the baud rate or flashing, the flash mode and the path of the |
186 firmware file |
186 firmware file |
187 @rtype tuple of (str, str, str, str, str) |
187 @rtype tuple of (str, str, str, str, str) |
188 """ |
188 """ |
189 if self.__isBackupMode: |
189 flashSize = ( |
190 flashSize = self.sizeComboBox.currentData() |
190 self.sizeComboBox.currentData() |
191 else: |
191 if self.__isBackupMode else |
192 flashSize = self.sizeComboBox.currentText().replace(" ", "") |
192 self.sizeComboBox.currentText().replace(" ", "") |
|
193 ) |
193 |
194 |
194 return ( |
195 return ( |
195 self.espComboBox.currentData(), |
196 self.espComboBox.currentData(), |
196 flashSize, |
197 flashSize, |
197 self.baudRateComboBox.currentText().replace(".", ""), |
198 self.baudRateComboBox.currentText().replace(".", ""), |