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' 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; }; /*