diff options
author | Scott James Remnant <keybuk@google.com> | 2021-10-29 10:42:59 -0700 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2021-10-29 18:35:55 +0000 |
commit | 0790a8147f007e39b4df0c8c41c5531fa77b9865 (patch) | |
tree | e7ced2fcee1001ada1b50a39462a1683c2c01d8e /pw_sys_io_baremetal_lm3s6965evb | |
parent | bc31369c5fe6ac8a9017020a932cbcafb724bad4 (diff) | |
download | pigweed-0790a8147f007e39b4df0c8c41c5531fa77b9865.tar.gz |
pw_sys_io: rename pw_sys_io_Init functions
Since pw_sys_io_Init() is not part of the pw_sys_io facade, and the
backend-specific functions are only called from target-specific places,
rename the backend-specific functions to include the backend as part of
the name.
Change-Id: I42c0eb5e8932ee73707db574847e2aed58517132
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/66862
Commit-Queue: Scott James Remnant <keybuk@google.com>
Pigweed-Auto-Submit: Scott James Remnant <keybuk@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Diffstat (limited to 'pw_sys_io_baremetal_lm3s6965evb')
-rw-r--r-- | pw_sys_io_baremetal_lm3s6965evb/public/pw_sys_io_baremetal_lm3s6965evb/init.h | 2 | ||||
-rw-r--r-- | pw_sys_io_baremetal_lm3s6965evb/sys_io_baremetal.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pw_sys_io_baremetal_lm3s6965evb/public/pw_sys_io_baremetal_lm3s6965evb/init.h b/pw_sys_io_baremetal_lm3s6965evb/public/pw_sys_io_baremetal_lm3s6965evb/init.h index d4262c56d..e8dcaba39 100644 --- a/pw_sys_io_baremetal_lm3s6965evb/public/pw_sys_io_baremetal_lm3s6965evb/init.h +++ b/pw_sys_io_baremetal_lm3s6965evb/public/pw_sys_io_baremetal_lm3s6965evb/init.h @@ -18,6 +18,6 @@ PW_EXTERN_C_START // The actual implement of PreMainInit() in sys_io_BACKEND. -void pw_sys_io_Init(); +void pw_sys_io_lm3s6965evb_Init(); PW_EXTERN_C_END diff --git a/pw_sys_io_baremetal_lm3s6965evb/sys_io_baremetal.cc b/pw_sys_io_baremetal_lm3s6965evb/sys_io_baremetal.cc index ca70d9798..0964d0c9c 100644 --- a/pw_sys_io_baremetal_lm3s6965evb/sys_io_baremetal.cc +++ b/pw_sys_io_baremetal_lm3s6965evb/sys_io_baremetal.cc @@ -69,7 +69,7 @@ void SetBaudRate(uint32_t clock, uint32_t target_baud) { } // namespace -extern "C" void pw_sys_io_Init() { +extern "C" void pw_sys_io_lm3s6965evb_Init() { rcgc1 |= kRcgcUart0EnableMask; for (volatile int i = 0; i < 3; ++i) { // We must wait after enabling uart. |