mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-03 14:43:48 +08:00
eefc084302
version: sunnypilot v2025.003.000 (dev) date: 2025-12-18T05:48:43 master commit: 16c052af0835f049a67b80251d8cc1114fc08bb4
12 lines
328 B
C
12 lines
328 B
C
#pragma once
|
|
|
|
// WARNING: To stay in compliance with the SIL2 rules laid out in STM UM1840, we should never implement any of the available hardware low power modes.
|
|
// See rule: CoU_3
|
|
|
|
#define POWER_SAVE_STATUS_DISABLED 0
|
|
#define POWER_SAVE_STATUS_ENABLED 1
|
|
|
|
extern int power_save_status;
|
|
|
|
void set_power_save_state(int state);
|