mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2025-07-31 20:31:05 +00:00
update
This commit is contained in:
parent
b8c699eb1c
commit
3a865fb51d
40 changed files with 293 additions and 463 deletions
|
|
@ -707,14 +707,14 @@ void fATSP(void *arg) {
|
|||
switch (argv[1][0]) {
|
||||
case 'a': // acquire
|
||||
{
|
||||
pmu_acquire_wakelock(WAKELOCK_OS);
|
||||
acquire_wakelock(WAKELOCK_OS);
|
||||
//at_printf("\r\n[ATSP] wakelock:0x%08x", get_wakelock_status());
|
||||
break;
|
||||
}
|
||||
|
||||
case 'r': // release
|
||||
{
|
||||
pmu_release_wakelock(WAKELOCK_OS);
|
||||
release_wakelock(WAKELOCK_OS);
|
||||
//at_printf("\r\n[ATSP] wakelock:0x%08x", get_wakelock_status());
|
||||
break;
|
||||
}
|
||||
|
|
@ -1110,7 +1110,7 @@ void fATSL(void *arg) {
|
|||
{
|
||||
if (argc == 3) {
|
||||
lock_id = strtoul(argv[2], NULL, 16);
|
||||
pmu_acquire_wakelock(lock_id);
|
||||
acquire_wakelock(lock_id);
|
||||
}
|
||||
AT_DBG_MSG(AT_FLAG_OS, AT_DBG_ALWAYS, "[ATSL] wakelock:0x%08x",
|
||||
pmu_get_wakelock_status());
|
||||
|
|
@ -1121,7 +1121,7 @@ void fATSL(void *arg) {
|
|||
{
|
||||
if (argc == 3) {
|
||||
lock_id = strtoul(argv[2], NULL, 16);
|
||||
pmu_release_wakelock(lock_id);
|
||||
release_wakelock(lock_id);
|
||||
}
|
||||
AT_DBG_MSG(AT_FLAG_OS, AT_DBG_ALWAYS, "[ATSL] wakelock:0x%08x",
|
||||
pmu_get_wakelock_status());
|
||||
|
|
|
|||
|
|
@ -427,7 +427,7 @@ void log_service(void *param)
|
|||
log_service_unlock();
|
||||
#endif
|
||||
#if defined(configUSE_WAKELOCK_PMU) && (configUSE_WAKELOCK_PMU == 1)
|
||||
pmu_release_wakelock(WAKELOCK_LOGUART);
|
||||
release_wakelock(WAKELOCK_LOGUART);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue