381 views|2 replies

970

Posts

0

Resources
The OP
 

Why when I search for the definition of the flash_open() function, I find #define flash_open() [Copy link]

邀请:@maychang   @chunyang   @damiaa   @huo_hu   参与回复

There is a function flash_open() in a function. When looking for the definition of this function, it is found that #define flash_open(). If this flash_open() function is a system native function, then why is #define flash_open() still needed?

void meter_read_data(void)
{
flash_open();

}

#define flash_open()

This post is from MCU

Latest reply

#define flash_open() The flash_open() in the following statement is replaced with an empty string. That is, all the flash_open() statements you see later are deleted after preprocessing. But you don't need to delete it manually (the code is retained but not compiled).   Details Published on 2024-11-12 14:01
 

970

Posts

0

Resources
2
 

Why no one replied?

This post is from MCU
 
 

6069

Posts

4

Resources
3
 

#define flash_open()

The flash_open() in the following statement is replaced with an empty string. That is, all the flash_open() statements you see later are deleted after preprocessing. But you don't need to delete it manually (the code is retained but not compiled).

This post is from MCU
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list