hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
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;
}