fix doc formatting

This commit is contained in:
Jeff Epler 2022-09-29 10:27:13 -05:00
parent 74cdf42ece
commit 72b06021c0
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 1 additions and 3 deletions

View File

@ -38,7 +38,6 @@
//| Cannot be constructed at runtime, but may be the type of a pin object
//| in `board`. A `CywPin` can be used as a DigitalInOut, but not with other
//| peripherals such as `PWMOut`."""
//|
const mp_obj_type_t cyw43_pin_type = {
{ &mp_type_type },
.flags = MP_TYPE_FLAG_EXTENDED,
@ -49,7 +48,7 @@ const mp_obj_type_t cyw43_pin_type = {
)
};
//| def set_power_management(/, value:int) -> None:
//| def set_power_management(value: int) -> None:
//| """Set the power management register
//|
//| According to Raspberry Pi documentation, the value 0xa11140
@ -58,7 +57,6 @@ const mp_obj_type_t cyw43_pin_type = {
//| Besides this value, there appears to be no other public documentation
//| of the values that can be used.
//| """
//|
STATIC mp_obj_t cyw43_set_power_management(const mp_obj_t value_in) {
mp_int_t value = mp_obj_get_int(value_in);
cyw43_wifi_pm(&cyw43_state, value);