Skip to content

Commit 72b0602

Browse files
committed
fix doc formatting
1 parent 74cdf42 commit 72b0602

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ports/raspberrypi/bindings/cyw43/__init__.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
//| Cannot be constructed at runtime, but may be the type of a pin object
3939
//| in `board`. A `CywPin` can be used as a DigitalInOut, but not with other
4040
//| peripherals such as `PWMOut`."""
41-
//|
4241
const mp_obj_type_t cyw43_pin_type = {
4342
{ &mp_type_type },
4443
.flags = MP_TYPE_FLAG_EXTENDED,
@@ -49,7 +48,7 @@ const mp_obj_type_t cyw43_pin_type = {
4948
)
5049
};
5150

52-
//| def set_power_management(/, value:int) -> None:
51+
//| def set_power_management(value: int) -> None:
5352
//| """Set the power management register
5453
//|
5554
//| According to Raspberry Pi documentation, the value 0xa11140
@@ -58,7 +57,6 @@ const mp_obj_type_t cyw43_pin_type = {
5857
//| Besides this value, there appears to be no other public documentation
5958
//| of the values that can be used.
6059
//| """
61-
//|
6260
STATIC mp_obj_t cyw43_set_power_management(const mp_obj_t value_in) {
6361
mp_int_t value = mp_obj_get_int(value_in);
6462
cyw43_wifi_pm(&cyw43_state, value);

0 commit comments

Comments
 (0)