From ff097bef2b88b8d8a758624c85d5177fa5b71501 Mon Sep 17 00:00:00 2001 From: Bogdan Ivanus Date: Tue, 26 Aug 2025 19:12:24 +0300 Subject: [PATCH 1/2] AE-591: Turned method "turnOffEthernet" from private to public so it can be called outside the class directly from its Singleton object. --- src/Arduino_LowPowerPortentaH7.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Arduino_LowPowerPortentaH7.h b/src/Arduino_LowPowerPortentaH7.h index d240df1..c0ff4d2 100644 --- a/src/Arduino_LowPowerPortentaH7.h +++ b/src/Arduino_LowPowerPortentaH7.h @@ -200,7 +200,6 @@ class LowPowerPortentaH7 { LowPowerPortentaH7() = default; ~LowPowerPortentaH7() = default; - bool turnOffEthernet() const; void waitForFlashReady() const; /// @cond DEV @@ -370,6 +369,13 @@ class LowPowerPortentaH7 { * @return True if the microcontroller was in the given mode, false otherwise. */ bool wasInCPUMode(CPUMode mode) const; + + /** + * @brief Put the ethernet module and phy in low power mode. + * Note: The board will blink the red LED every half second if this fails and will not progress. + * @return Success or failure. + */ + bool turnOffEthernet() const; }; /* From af169f6462d068614082f4e077edf6d002dd4fd1 Mon Sep 17 00:00:00 2001 From: Sebastian Romero Date: Wed, 27 Aug 2025 14:12:26 +0200 Subject: [PATCH 2/2] Use release version of workflow --- .github/workflows/render-documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/render-documentation.yml b/.github/workflows/render-documentation.yml index db3617f..32e5e57 100644 --- a/.github/workflows/render-documentation.yml +++ b/.github/workflows/render-documentation.yml @@ -21,7 +21,7 @@ jobs: render-docs: permissions: contents: write - uses: sebromero/render-docs-github-action/.github/workflows/render-docs.yml@main + uses: arduino/render-docs-github-action/.github/workflows/render-docs.yml@main with: source-path: './src' target-path: './docs/api.md'