adi 公司的嵌入式的 demo 程序,c 语言...看了这个函数,我不相信我的眼睛

查看 16|回复 0
作者:pigdragon   
是我魔怔了吧,这个函数判断条件不是无效的么?要这个 if 干嘛?
** adi_initialize.c source file generated on August 10, 2018 at 10:27:14.
**
** Copyright (C) 2000-2018 Analog Devices Inc., All Rights Reserved.
**
** This file is generated automatically. You should not modify this source file,
** as your changes will be lost if this source file is re-generated.
*/
#include
#include "adi_initialize.h"
extern int32_t adi_initpinmux(void);
int32_t adi_initComponents(void)
{
        int32_t result = 0;
        if (result == 0) {
                result = adi_initpinmux(); /* auto-generated code (order:0) */
        }
        return result;
}
您需要登录后才可以回帖 登录 | 立即注册

返回顶部