mFrame
載入中...
搜尋中...
無符合項目
Production

Safety Implementation:

void safe_override_control(LowPowerRequestOutputOverride override_state,
uint32_t timeout_ms) {
// Apply override with timeout safety mechanism
config.override = override_state;
spc_configure_low_power_request(&config);
// Set timeout to prevent permanent override
start_override_timeout_timer(timeout_ms);
}
void override_timeout_handler() {
// Safety: Return to automatic mode on timeout
config.override = LowPowerRequestOutputOverride::AUTO;
spc_configure_low_power_request(&config);
log_warning("LPR override timeout - returned to automatic mode");
}