volatile uint8_t master_send_cache[DDJC_MAX_NUM*5+100];
master_rece_length=z8to16b(&master_rece_cache[2]);
warning: #167-D: argument of type "volatile uint8_t *" is incompatible with arameter of type "uint8_t *"
当我对一个设定成volatile的全局变量取指针时,就会出这个提示,变量是volatile的,可变量的指针怎么也成了volatile ?老子英雄儿好汉吗? |