Hello,
I'm developing with STM32H7 dev kit.
And have a property:
![](https://ask.embedded-wizard.de/?qa=blob&qa_blobid=7449477207740918806)
But code stucks somewhere randomly.
I was able to track with debuging all the way to EwNotifyRefObservers after which debugging is not possible any more.
void ApplicationDeviceClass_UpdateUserScannedGui( ApplicationDeviceClass _this, XInt32 aNewValue )
{
if ( aNewValue != _this->userScannedGui )
{
_this->userScannedGui = aNewValue;
EwNotifyRefObservers( EwNewRef( _this, ApplicationDeviceClass_OnGetuserScannedGui,
ApplicationDeviceClass_OnSetuserScannedGui ), 0 );
}
}
Is there any hint what I'm doing wrong and why after call of ApplicationDeviceClass_UpdateUserScannedGui related onSet method is not executed and code stuck.
A bit more useful code:
static void addUserProc(const void* aData)
{
int userScannedtemp = *((int*)aData);
ApplicationDeviceClass device = EwGetAutoObject( &ApplicationDevice, ApplicationDeviceClass );
ApplicationDeviceClass__UpdateUserScannedGui( device , userScannedtemp);
}
void addUser(uint8_t *rxBuffer)
{
memcpy(userNameString, rxBuffer, RXBUFFERSIZE);
userScanned = USER_PRESENT;
brArtikala = 0;
EwInvoke( addUserProc, &userScanned);
}
addUser is called from ISR callback.
Best regards,
Miroslav