hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2021 Fuzhou Rockchip Electronics Co., Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
 
#include "libipcpro_log_control.h"
 
int ipc_pro_log_ctl = 1;
 
int IPCProtocol_log_en_get() {
    return ipc_pro_log_ctl;
}
 
void IPCProtocol_log_en_set(bool log_en) {
    ipc_pro_log_ctl = log_en ? 1 : 0;
}