Skip to content

Commit aa6df4b

Browse files
Apply automatic fixes from pre-commit hooks
1 parent f8bbb02 commit aa6df4b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

esptool/targets/esp32c5.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class ESP32C5ROM(ESP32C6ROM):
6060
PCR_SYSCLK_XTAL_FREQ_V = 0x7F << 24
6161
PCR_SYSCLK_XTAL_FREQ_S = 24
6262

63-
UARTDEV_BUF_NO = 0x4085f514 # Variable in ROM .bss which indicates the port in use
63+
UARTDEV_BUF_NO = 0x4085F514 # Variable in ROM .bss which indicates the port in use
6464

6565
FLASH_FREQUENCY = {
6666
"80m": 0xF,
@@ -143,9 +143,11 @@ def get_crystal_freq_rom_expect(self):
143143

144144
def hard_reset(self):
145145
# Debug output using trace
146-
self.trace(f'get_uart_no(): {self.get_uart_no()}')
147-
self.trace(f'UARTDEV_BUF_NO_USB_JTAG_SERIAL: {self.UARTDEV_BUF_NO_USB_JTAG_SERIAL}')
148-
self.trace(f'uses_usb_jtag_serial(): {self.uses_usb_jtag_serial()}')
146+
self.trace(f"get_uart_no(): {self.get_uart_no()}")
147+
self.trace(
148+
f"UARTDEV_BUF_NO_USB_JTAG_SERIAL: {self.UARTDEV_BUF_NO_USB_JTAG_SERIAL}"
149+
)
150+
self.trace(f"uses_usb_jtag_serial(): {self.uses_usb_jtag_serial()}")
149151
ESPLoader.hard_reset(self, self.uses_usb_jtag_serial())
150152

151153
def change_baud(self, baud):

0 commit comments

Comments
 (0)