Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moddable-OpenSource/moddable
/ triggerErrorEvent
Function
triggerErrorEvent
modules/drivers/w3csensor/sensor.c:485–490 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
483
}
484
485
void triggerErrorEvent(xsSensor sensor, const char *errorMsg)
486
{
487
doDeactivate(sensor);
488
489
triggerEvent(sensor, kEventKindError, errorMsg);
490
}
491
492
void doDeactivate(xsSensor sensor)
493
{
Callers
1
readSensor
Function · 0.85
Calls
2
doDeactivate
Function · 0.85
triggerEvent
Function · 0.85
Tested by
no test coverage detected