2023-05-3

This commit is contained in:
gitea committed 2023-05-03 18:18:03 +08:00
1 parent 633d9b872b
commit 063c3fcc07
74 files changed
+26281 -13954

No files matched your search

+5 -3
View File
@@ -29,7 +29,7 @@
#include <easyflash.h>
#include <stdarg.h>
#include <sfud.h>
#include "FreeRTOS.h"
#include <rtthread.h>
@@ -197,7 +197,8 @@ EfErrCode ef_port_write(uint32_t addr, const uint32_t *buf, size_t size) {
* lock the ENV ram cache
*/
void ef_port_env_lock(void) {
portENTER_CRITICAL();
rt_enter_critical();
// portENTER_CRITICAL();
/* You can add your code under here. */
//__disable_irq();
@@ -207,7 +208,8 @@ void ef_port_env_lock(void) {
* unlock the ENV ram cache
*/
void ef_port_env_unlock(void) {
portEXIT_CRITICAL();
rt_exit_critical();
// portEXIT_CRITICAL();
/* You can add your code under here. */
// __enable_irq();
}