8000 fixup! Tweak black_bindings · adafruit/circuitpython@51ab560 · GitHub
[go: up one dir, main page]

Skip to content

Commit 51ab560

Browse files
committed
fixup! Tweak black_bindings
1 parent 6e1309a commit 51ab560

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ports/atmel-samd/bindings/samd/Clock.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
//|
3636
//| They are fixed by the hardware so they cannot be constructed on demand. Instead, use
3737
//| ``samd.clock`` to reference the desired clock."""
38+
//|
3839

3940
STATIC void samd_clock_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) {
4041
samd_clock_obj_t *self = MP_OBJ_TO_PTR(self_in);
@@ -92,6 +93,7 @@ MP_PROPERTY_GETTER(samd_clock_frequency_obj,
9293

9394
//| calibration: int
9495
//| """Clock calibration. Not all clocks can be calibrated."""
96+
//|
9597
STATIC mp_obj_t samd_clock_get_calibration(mp_obj_t self_in) {
9698
samd_clock_obj_t *self = MP_OBJ_TO_PTR(self_in);
9799
return mp_obj_new_int_from_uint(clock_get_calibration(self->type, self->index));

ports/raspberrypi/bindings/cyw43/__init__.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
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+
//|
4142
const mp_obj_type_t cyw43_pin_type = {
4243
{ &mp_type_type },
4344
.flags = MP_TYPE_FLAG_EXTENDED,
@@ -57,6 +58,7 @@ const mp_obj_type_t cyw43_pin_type = {
5758
//| Besides this value, there appears to be no other public documentation
5859
//| of the values that can be used.
5960
//| """
61+
//|
6062
STATIC mp_obj_t cyw43_set_power_management(const mp_obj_t value_in) {
6163
mp_int_t value = mp_obj_get_int(value_in);
6264
cyw43_wifi_pm(&cyw43_state, value);

0 commit comments

Comments
 (0)
0