Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: common/utils.c
- Revision:
- 1:63dd03580de4
- Parent:
- 0:85855ecd3257
- Child:
- 2:e391aa125721
diff -r 85855ecd3257 -r 63dd03580de4 common/utils.c
--- a/common/utils.c Mon Apr 01 11:09:52 2019 +0000
+++ b/common/utils.c Mon Apr 15 14:36:02 2019 +0000
@@ -186,7 +186,7 @@
return res;
}
- res = adi_sense_GetGpioState(hDevice, ADI_SENSE_GPIO_PIN_ALERT, &state);
+ /*res = adi_sense_GetGpioState(hDevice, ADI_SENSE_GPIO_PIN_ALERT, &state);
if (res != ADI_SENSE_SUCCESS)
{
ADI_SENSE_LOG_ERROR("Failed to get current ALERT state");
@@ -196,7 +196,7 @@
{
ADI_SENSE_LOG_ERROR("ALERT signal already asserted");
return ADI_SENSE_FAILURE;
- }
+ }*/
res = adi_sense_RegisterGpioCallback(hDevice, ADI_SENSE_GPIO_PIN_ALERT,
gpioCallbackFn, (void *)pbAlert);
if (res != ADI_SENSE_SUCCESS)