96 Star 804 Fork 501

魔罗/AT Command

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
at_port.c 561 Bytes
一键复制 编辑 原始数据 按行查看 历史
roger.luo 提交于 2022-12-31 22:42 +08:00 . 提交V2版本
/**
* @Brief: The AT component drives the interface implementation
* @Author: roger.luo
* @Date: 2021-04-04
* @Last Modified by: roger.luo
* @Last Modified time: 2021-11-27
*/
#include <stddef.h>
#include <stdlib.h>
/**
* @brief Custom malloc for AT component.
*/
void *at_malloc(unsigned int nbytes)
{
return malloc(nbytes);
}
/**
* @brief Custom free for AT component.
*/
void at_free(void *ptr)
{
free(ptr);
}
/**
* @brief Gets the total number of milliseconds in the system.
*/
unsigned int at_get_ms(void)
{
return get_tick();
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/moluo-tech/AT-Command.git
git@gitee.com:moluo-tech/AT-Command.git
moluo-tech
AT-Command
AT Command
master

搜索帮助