chore: fix compile errors, simplified code.
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
|
||||
/***************************** Include Files ********************************/
|
||||
#include "headless.h"
|
||||
#include "delay.h"
|
||||
|
||||
/************************** Constant Definitions *****************************/
|
||||
|
||||
@@ -46,9 +47,6 @@
|
||||
|
||||
/************************** Variable Definitions *****************************/
|
||||
|
||||
// XGpio GpioFreqCtrl;
|
||||
// XGpio GpioGainCtrl;
|
||||
// XGpio GpioAttnCtrl;
|
||||
XScuGic Intc;
|
||||
|
||||
/************************** Function Prototypes ******************************/
|
||||
@@ -284,12 +282,6 @@ int HW_adiCfgProfileInit(void)
|
||||
return ADIERR_FAILED;
|
||||
}
|
||||
|
||||
if (!&mykDevice)
|
||||
{
|
||||
HW_PRINT("Cannot find ad9371 configuration profile with name 'mykDevice'!");
|
||||
return ADIERR_FAILED;
|
||||
}
|
||||
|
||||
ad9528Init->spiSettings->chipSelectIndex = AD9528_CS;
|
||||
mykDevice.spiSettings->chipSelectIndex = AD9371_CS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user