File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
ports/raspberrypi/bindings/cyw43 Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 38
38
//| Cannot be constructed at runtime, but may be the type of a pin object
39
39
//| in `board`. A `CywPin` can be used as a DigitalInOut, but not with other
40
40
//| peripherals such as `PWMOut`."""
41
- //|
42
41
const mp_obj_type_t cyw43_pin_type = {
43
42
{ & mp_type_type },
44
43
.flags = MP_TYPE_FLAG_EXTENDED ,
@@ -49,7 +48,7 @@ const mp_obj_type_t cyw43_pin_type = {
49
48
)
50
49
};
51
50
52
- //| def set_power_management(/, value:int) -> None:
51
+ //| def set_power_management(value: int) -> None:
53
52
//| """Set the power management register
54
53
//|
55
54
//| According to Raspberry Pi documentation, the value 0xa11140
@@ -58,7 +57,6 @@ const mp_obj_type_t cyw43_pin_type = {
58
57
//| Besides this value, there appears to be no other public documentation
59
58
//| of the values that can be used.
60
59
//| """
61
- //|
62
60
STATIC mp_obj_t cyw43_set_power_management (const mp_obj_t value_in ) {
63
61
mp_int_t value = mp_obj_get_int (value_in );
64
62
cyw43_wifi_pm (& cyw43_state , value );
You can’t perform that action at this time.
0 commit comments