first push
This commit is contained in:
25
DEBUG/Debug_Config.h
Normal file
25
DEBUG/Debug_Config.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
* 这是调试功能页面的总开关。
|
||||
*
|
||||
* 设为 1 时:
|
||||
* 1. APP 层会创建下方调试窗口
|
||||
* 2. APP 层会连接调试按钮
|
||||
* 3. APP 层会把 LGC 整理好的调试文本显示出来
|
||||
*
|
||||
* 设为 0 时:
|
||||
* 1. APP 层不显示调试窗口
|
||||
* 2. APP 层不连接调试按钮
|
||||
* 3. 但主界面的状态轮询仍然保留
|
||||
*
|
||||
* 也就是说,这个宏控制的是“调试页入口”,
|
||||
* 不是整个程序的主刷新节拍。
|
||||
*
|
||||
* 如果后续要整体删掉调试功能,
|
||||
* 就从 APP_UIWindow 里所有 APP_ENABLE_DEBUG_WINDOW 宏块开始删。
|
||||
*/
|
||||
#ifndef APP_ENABLE_DEBUG_WINDOW
|
||||
// 1 表示编译进调试页,0 表示完全隐藏调试页入口。
|
||||
#define APP_ENABLE_DEBUG_WINDOW 1
|
||||
#endif
|
||||
Reference in New Issue
Block a user