This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

警告 #169-D argument of type "const uint16_t *" is incompatible with parameter of type "const uint16_t"

Hall_run( hallHande , angle_pu ,&pAdcData->hall );
// Hall_run( hallHande , angle_pu , gAdcData.hall );

用 Hall_run( hallHande , angle_pu ,&pAdcData->hall ); 编译

  警告  #169-D argument of type "const uint16_t *" is incompatible with parameter of type "const uint16_t"

程序不能正常工作

用 Hall_run( hallHande , angle_pu , gAdcData.hall ); 编译正常

程序正常工作

怎么回事?