From 4f816b39e4c2e753d18b942f779d6451f66da74c Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Mon, 8 Mar 2021 18:10:38 +0800 Subject: [PATCH] add critical fault for brownout --- docs/docs.md | 1 + mesh.proto | 3 +++ 2 files changed, 4 insertions(+) diff --git a/docs/docs.md b/docs/docs.md index 79f054b..b9de183 100644 --- a/docs/docs.md +++ b/docs/docs.md @@ -699,6 +699,7 @@ and we'll try to help. | NoAXP192 | 6 | This board was expected to have a power management chip and it is missing or broken | | InvalidRadioSetting | 7 | The channel tried to set a radio setting which is not supported by this chipset, radio comms settings are now undefined. | | TransmitFailed | 8 | Radio transmit hardware failure. We sent data to the radio chip, but it didn't reply with an interrupt. | +| Brownout | 9 | We detected that the main CPU voltage dropped below the minumum acceptable value | diff --git a/mesh.proto b/mesh.proto index 8ce7407..0654de0 100644 --- a/mesh.proto +++ b/mesh.proto @@ -549,6 +549,9 @@ enum CriticalErrorCode { */ TransmitFailed = 8; + /* We detected that the main CPU voltage dropped below the minumum acceptable value */ + Brownout = 9; + } /*