You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you help to check if this is an invalid if statement and make the correction please?
/*============================================================================
Name : initRadio
Purpose : initializes the Radio, with the SPI communication first and then
the NRF24L01+ chip
Input :
Output : none
Return :
Notes :
============================================================================*/
bool initRadio(uint8_t id)
{
uint8_t initOK;
HAL_RCC_MCOConfig(RCC_MCO, RCC_MCOSOURCE_HSE, RCC_MCO_NODIV); //output HSE clock on MCO
if (SPIInit())
{
if (initOK = initNRF24L01P())
^
The text was updated successfully, but these errors were encountered:
Can you help to check if this is an invalid if statement and make the correction please?
/*============================================================================
Name : initRadio
Purpose : initializes the Radio, with the SPI communication first and then
the NRF24L01+ chip
Input :
Output : none
Return :
Notes :
============================================================================*/
bool initRadio(uint8_t id)
{
uint8_t initOK;
The text was updated successfully, but these errors were encountered: