修复mico-sdk错误

This commit is contained in:
nhkefus
2025-03-11 15:54:45 +08:00
parent 3422912129
commit 2ccb892a1c
2152 changed files with 664341 additions and 702636 deletions

View File

@@ -1,47 +1,47 @@
////////////////////////////////////////////////////////////////////////////////
// Mountain View Silicon Tech. Inc.
// Copyright 2011, Mountain View Silicon Tech. Inc., ShangHai, China
// All rights reserved.
//
// Filename :debug.h
//
// Description :
// Define debug ordinary print & debug routine
//
// Changelog :
///////////////////////////////////////////////////////////////////////////////
#ifndef __DEBUG_H__
#define __DEBUG_H__
#ifdef __cplusplus
extern "C" {
#endif//__cplusplus
#include <stdio.h>
#if defined(FUNC_DEBUG_EN)
#define DBG(format, ...) printf(format, ##__VA_ARGS__)
#else
#define DBG(format, ...)
#endif
#if (defined(FUNC_DEBUG_EN) && defined(FUNC_APP_DEBUG_EN))
#define APP_DBG(format, ...) printf(format, ##__VA_ARGS__)
#else
#define APP_DBG(format, ...)
#endif
#if (defined(FUNC_DEBUG_EN) && defined(FUNC_FS_DEBUG_EN))
#define FS_DBG(format, ...) printf(format, ##__VA_ARGS__)
#else
#define FS_DBG(format, ...)
#endif
#define ASSERT(x)
#ifdef __cplusplus
}
#endif//__cplusplus
#endif //__DBG_H__
////////////////////////////////////////////////////////////////////////////////
// Mountain View Silicon Tech. Inc.
// Copyright 2011, Mountain View Silicon Tech. Inc., ShangHai, China
// All rights reserved.
//
// Filename :debug.h
//
// Description :
// Define debug ordinary print & debug routine
//
// Changelog :
///////////////////////////////////////////////////////////////////////////////
#ifndef __DEBUG_H__
#define __DEBUG_H__
#ifdef __cplusplus
extern "C" {
#endif//__cplusplus
#include <stdio.h>
#if defined(FUNC_DEBUG_EN)
#define DBG(format, ...) printf(format, ##__VA_ARGS__)
#else
#define DBG(format, ...)
#endif
#if (defined(FUNC_DEBUG_EN) && defined(FUNC_APP_DEBUG_EN))
#define APP_DBG(format, ...) printf(format, ##__VA_ARGS__)
#else
#define APP_DBG(format, ...)
#endif
#if (defined(FUNC_DEBUG_EN) && defined(FUNC_FS_DEBUG_EN))
#define FS_DBG(format, ...) printf(format, ##__VA_ARGS__)
#else
#define FS_DBG(format, ...)
#endif
#define ASSERT(x)
#ifdef __cplusplus
}
#endif//__cplusplus
#endif //__DBG_H__