24 lines
520 B
C
24 lines
520 B
C
|
|
/**
|
|||
|
|
* @file shell_cfg_user.h
|
|||
|
|
* @author Letter (nevermindzzt@gmail.com)
|
|||
|
|
* @brief shell config
|
|||
|
|
* @version 3.0.0
|
|||
|
|
* @date 2019-12-31
|
|||
|
|
*
|
|||
|
|
* @copyright (c) 2019 Letter
|
|||
|
|
*
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#ifndef __SHELL_CFG_USER_H__
|
|||
|
|
#define __SHELL_CFG_USER_H__
|
|||
|
|
|
|||
|
|
#include <u_sys.h>
|
|||
|
|
/**
|
|||
|
|
* @brief 获取系统时间(ms)
|
|||
|
|
* 定义此宏为获取系统Tick,如`HAL_GetTick()`
|
|||
|
|
* @note 此宏不定义时无法使用双击tab补全命令help,无法使用shell超时锁定
|
|||
|
|
*/
|
|||
|
|
#define SHELL_GET_TICK() sys_read_tick()
|
|||
|
|
|
|||
|
|
#endif
|