[T31] Yet another fix

pull/337/head
Dmitry Ermakov 2022-08-12 11:30:58 +03:00
parent 17638d1fd1
commit 2bea7ad0df
1 changed files with 1 additions and 1 deletions

View File

@ -329648,7 +329648,7 @@ index 00000000..79850235
+ * Function: Keep power for CPU core when reset. + * Function: Keep power for CPU core when reset.
+ * So that EPC, tcsm and so on can maintain it's status after reset-key pressed. + * So that EPC, tcsm and so on can maintain it's status after reset-key pressed.
+ */ + */
+static void reset_keep_power(int keep_pwr) +void reset_keep_power(int keep_pwr)
+{ +{
+ if (keep_pwr) + if (keep_pwr)
+ rtc_write_reg(RTC_PWRONCR, + rtc_write_reg(RTC_PWRONCR,