Skip to content

Commit 7022965

Browse files
author
Amanda Butler
authored
Fix links in sleep.md
Update link formats for building.
1 parent eae736e commit 7022965

File tree

1 file changed

+3
-3
lines changed
  • docs/reference/contributing/target

1 file changed

+3
-3
lines changed

docs/reference/contributing/target/sleep.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ The core system clock is disabled. You can only enable the low-frequency clocks
2828

2929
We are working on the new HAL Sleep API, which will replace the current version in an upcoming release of Mbed OS. You need to implement the Sleep API in both variants. First, you need to implement the current API. You can find it on master branch:
3030

31-
[![View code](https://www.mbed.com/embed/?type=library)](https://os-doc-builder.test.mbed.com/docs/v5.7/mbed-os-api-doxy/sleep__api_8h_source.html)
31+
[![View code](https://www.mbed.com/embed/?type=library)](http://os-doc-builder.test.mbed.com/docs/v5.7/mbed-os-api-doxy/sleep__api_8h_source.html)
3232

3333
To make sure your platform is ready for the upcoming changes, you need to implement the future API and submit it in a separate pull request against `feature-hal-spec-sleep` branch. You can find the API and specification for the new Sleep API in the following header file:
3434

35-
[![View code](https://www.mbed.com/embed/?type=library)](https://os.mbed.com/docs/v5.7/feature-hal-spec-sleep-doxy/group__hal__sleep.html)
35+
[![View code](https://www.mbed.com/embed/?type=library)](http://os.mbed.com/docs/v5.7/feature-hal-spec-sleep-doxy/group__hal__sleep.html)
3636

3737
To enable sleep support in Mbed OS, you need to add the `SLEEP` label in the `device_has` option of the target's section in the `targets.json` file.
3838

@@ -46,4 +46,4 @@ mbed test -t <toolchain> -m <target> -n "tests-mbed_hal-sleep*"
4646

4747
You can read more about the test cases:
4848

49-
[![View code](https://www.mbed.com/embed/?type=library)](https://os.mbed.com/docs/v5.7/feature-hal-spec-sleep-doxy/group__hal__sleep__tests.html)
49+
[![View code](https://www.mbed.com/embed/?type=library)](http://os.mbed.com/docs/v5.7/feature-hal-spec-sleep-doxy/group__hal__sleep__tests.html)

0 commit comments

Comments
 (0)