mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-12 15:03:41 +00:00
all: format code according to Go 1.19 rules
Go 1.19 started reformatting code in a way that makes it more obvious how it will be rendered on pkg.go.dev. It gets it almost right, but not entirely. Therefore, I had to modify some of the comments so that they are formatted correctly.
This commit is contained in:
@@ -6,14 +6,15 @@ package runtime
|
||||
import "device/stm32"
|
||||
|
||||
/*
|
||||
clock settings
|
||||
+-------------+--------+
|
||||
| HSE | 8mhz |
|
||||
| SYSCLK | 180mhz |
|
||||
| HCLK | 180mhz |
|
||||
| APB2(PCLK2) | 90mhz |
|
||||
| APB1(PCLK1) | 45mhz |
|
||||
+-------------+--------+
|
||||
clock settings
|
||||
|
||||
+-------------+--------+
|
||||
| HSE | 8mhz |
|
||||
| SYSCLK | 180mhz |
|
||||
| HCLK | 180mhz |
|
||||
| APB2(PCLK2) | 90mhz |
|
||||
| APB1(PCLK1) | 45mhz |
|
||||
+-------------+--------+
|
||||
*/
|
||||
const (
|
||||
HSE_STARTUP_TIMEOUT = 0x0500
|
||||
|
||||
Reference in New Issue
Block a user