110 @return tuple containing the selected chip type, the path of the |
110 @return tuple containing the selected chip type, the path of the |
111 firmware file, the baud rate, the flash mode and the flash |
111 firmware file, the baud rate, the flash mode and the flash |
112 address |
112 address |
113 @rtype tuple of (str, str, str, str, str) |
113 @rtype tuple of (str, str, str, str, str) |
114 """ |
114 """ |
115 if self.__addon: |
115 address = self.addressEdit.text() if self.__addon else "" |
116 address = self.addressEdit.text() |
|
117 else: |
|
118 address = "" |
|
119 |
116 |
120 return ( |
117 return ( |
121 self.espComboBox.currentText().lower(), |
118 self.espComboBox.currentText().lower(), |
122 self.firmwarePicker.text(), |
119 self.firmwarePicker.text(), |
123 self.baudRateComboBox.currentText().replace(".", ""), |
120 self.baudRateComboBox.currentText().replace(".", ""), |