aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/SPC560BCxx/hal_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/SPC560BCxx/hal_lld.c')
-rw-r--r--os/hal/platforms/SPC560BCxx/hal_lld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/SPC560BCxx/hal_lld.c b/os/hal/platforms/SPC560BCxx/hal_lld.c
index cfd931349..fb017eac7 100644
--- a/os/hal/platforms/SPC560BCxx/hal_lld.c
+++ b/os/hal/platforms/SPC560BCxx/hal_lld.c
@@ -97,7 +97,7 @@ void hal_lld_init(void) {
}
/**
- * @brief SPC560Pxx clocks and PLL initialization.
+ * @brief SPC560B/Cxx clocks and PLL initialization.
* @note All the involved constants come from the file @p board.h and
* @p hal_lld.h
* @note This function must be invoked only after the system reset.
@@ -185,7 +185,7 @@ void spc_clock_init(void) {
* @retval CH_SUCCESS if the switch operation has been completed.
* @retval CH_FAILED if the switch operation failed.
*/
-bool_t halSPCSetRunMode(spc560prunmode_t mode) {
+bool_t halSPCSetRunMode(spc5_runmode_t mode) {
/* Starts a transition process.*/
ME.MCTL.R = SPC5_ME_MCTL_MODE(mode) | SPC5_ME_MCTL_KEY;