Skip to content

Commit 9f2660f

Browse files
committed
Capitalization changes
1 parent 9b85714 commit 9f2660f

File tree

7 files changed

+120
-120
lines changed

7 files changed

+120
-120
lines changed

shared-bindings/is31fl3741/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
STATIC const mp_rom_map_elem_t is31fl3741_module_globals_table[] = {
3535
{ MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_is31fl3741) },
36-
{ MP_ROM_QSTR(MP_QSTR_IS31FL3741), MP_ROM_PTR(&is31fl3741_is31fl3741_type) },
36+
{ MP_ROM_QSTR(MP_QSTR_IS31FL3741), MP_ROM_PTR(&is31fl3741_IS31FL3741_type) },
3737
};
3838

3939
STATIC MP_DEFINE_CONST_DICT(is31fl3741_module_globals, is31fl3741_module_globals_table);

shared-bindings/is31fl3741/is31fl3741.c

Lines changed: 81 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
#include "shared-module/framebufferio/FramebufferDisplay.h"
3737
#include "shared-bindings/busio/I2C.h"
3838

39-
//| class is31fl3741:
39+
//| class IS31FL3741:
4040
//| """Displays an in-memory framebuffer to a IS31FL3741 drive display."""
4141
//|
4242

4343
//| def __init__(self, *, width: int) -> None:
44-
//| """Create a Is31fl3741 object with the given attributes.
44+
//| """Create a IS31FL3741 object with the given attributes.
4545
//|
4646
//| The framebuffer is in "RGB888" format using 4 bytes per pixel.
4747
//| Bits 24-31 are ignored. The format is in RGB order.
@@ -54,7 +54,7 @@
5454
//| `framebufferio.FramebufferDisplay`."""
5555
//|
5656

57-
STATIC mp_obj_t is31fl3741_is31fl3741_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args) {
57+
STATIC mp_obj_t is31fl3741_IS31FL3741_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args) {
5858
enum { ARG_width, ARG_height, ARG_i2c, ARG_addr, ARG_framebuffer, ARG_mapping, ARG_scale, ARG_gamma };
5959
static const mp_arg_t allowed_args[] = {
6060
{ MP_QSTR_width, MP_ARG_INT | MP_ARG_REQUIRED | MP_ARG_KW_ONLY },
@@ -71,8 +71,8 @@ STATIC mp_obj_t is31fl3741_is31fl3741_make_new(const mp_obj_type_t *type, size_t
7171

7272
mp_obj_t i2c = mp_arg_validate_type(args[ARG_i2c].u_obj, &busio_i2c_type, MP_QSTR_i2c_bus);
7373

74-
is31fl3741_is31fl3741_obj_t *self = &allocate_display_bus_or_raise()->is31fl3741;
75-
self->base.type = &is31fl3741_is31fl3741_type;
74+
is31fl3741_IS31FL3741_obj_t *self = &allocate_display_bus_or_raise()->is31fl3741;
75+
self->base.type = &is31fl3741_IS31FL3741_type;
7676

7777
if (args[ARG_width].u_int <= 0) {
7878
mp_raise_ValueError(translate("width must be greater than zero"));
@@ -101,7 +101,7 @@ STATIC mp_obj_t is31fl3741_is31fl3741_make_new(const mp_obj_type_t *type, size_t
101101
framebuffer = mp_obj_new_bytearray_of_zeros(bufsize);
102102
}
103103

104-
common_hal_is31fl3741_is31fl3741_construct(self,
104+
common_hal_is31fl3741_IS31FL3741_construct(self,
105105
args[ARG_width].u_int,
106106
args[ARG_height].u_int,
107107
framebuffer,
@@ -115,19 +115,19 @@ STATIC mp_obj_t is31fl3741_is31fl3741_make_new(const mp_obj_type_t *type, size_t
115115

116116
//| def deinit(self) -> None:
117117
//| """Free the resources associated with this
118-
//| is31fl3741 instance. After deinitialization, no further operations
118+
//| IS31FL3741 instance. After deinitialization, no further operations
119119
//| may be performed."""
120120
//| ...
121121
//|
122-
STATIC mp_obj_t is31fl3741_is31fl3741_deinit(mp_obj_t self_in) {
123-
is31fl3741_is31fl3741_obj_t *self = (is31fl3741_is31fl3741_obj_t *)self_in;
124-
common_hal_is31fl3741_is31fl3741_deinit(self);
122+
STATIC mp_obj_t is31fl3741_IS31FL3741_deinit(mp_obj_t self_in) {
123+
is31fl3741_IS31FL3741_obj_t *self = (is31fl3741_IS31FL3741_obj_t *)self_in;
124+
common_hal_is31fl3741_IS31FL3741_deinit(self);
125125
return mp_const_none;
126126
}
127127

128-
STATIC MP_DEFINE_CONST_FUN_OBJ_1(is31fl3741_is31fl3741_deinit_obj, is31fl3741_is31fl3741_deinit);
128+
STATIC MP_DEFINE_CONST_FUN_OBJ_1(is31fl3741_IS31FL3741_deinit_obj, is31fl3741_IS31FL3741_deinit);
129129

130-
static void check_for_deinit(is31fl3741_is31fl3741_obj_t *self) {
130+
static void check_for_deinit(is31fl3741_IS31FL3741_obj_t *self) {
131131
if (self->framebuffer == NULL) {
132132
raise_deinited_error();
133133
}
@@ -137,35 +137,35 @@ static void check_for_deinit(is31fl3741_is31fl3741_obj_t *self) {
137137
//| """In the current implementation, 0.0 turns the display off entirely
138138
//| and any other value up to 1.0 turns the display on fully."""
139139
//|
140-
STATIC mp_obj_t is31fl3741_is31fl3741_get_brightness(mp_obj_t self_in) {
141-
is31fl3741_is31fl3741_obj_t *self = (is31fl3741_is31fl3741_obj_t *)self_in;
140+
STATIC mp_obj_t is31fl3741_IS31FL3741_get_brightness(mp_obj_t self_in) {
141+
is31fl3741_IS31FL3741_obj_t *self = (is31fl3741_IS31FL3741_obj_t *)self_in;
142142
check_for_deinit(self);
143-
uint8_t current = common_hal_is31fl3741_is31fl3741_get_global_current(self);
143+
uint8_t current = common_hal_is31fl3741_IS31FL3741_get_global_current(self);
144144

145145
float brightness = (float)current / (float)0xFF;
146146
return mp_obj_new_float(brightness);
147147
}
148-
MP_DEFINE_CONST_FUN_OBJ_1(is31fl3741_is31fl3741_get_brightness_obj, is31fl3741_is31fl3741_get_brightness);
148+
MP_DEFINE_CONST_FUN_OBJ_1(is31fl3741_IS31FL3741_get_brightness_obj, is31fl3741_IS31FL3741_get_brightness);
149149

150-
STATIC mp_obj_t is31fl3741_is31fl3741_set_brightness(mp_obj_t self_in, mp_obj_t value_in) {
151-
is31fl3741_is31fl3741_obj_t *self = (is31fl3741_is31fl3741_obj_t *)self_in;
150+
STATIC mp_obj_t is31fl3741_IS31FL3741_set_brightness(mp_obj_t self_in, mp_obj_t value_in) {
151+
is31fl3741_IS31FL3741_obj_t *self = (is31fl3741_IS31FL3741_obj_t *)self_in;
152152
check_for_deinit(self);
153153
mp_float_t brightness = mp_obj_get_float(value_in);
154154
if (brightness < 0.0f || brightness > 1.0f) {
155155
mp_raise_ValueError(translate("Brightness must be 0-1.0"));
156156
}
157157

158158
uint8_t current = (uint8_t)(brightness * 0xFF);
159-
common_hal_is31fl3741_is31fl3741_set_global_current(self, current);
159+
common_hal_is31fl3741_IS31FL3741_set_global_current(self, current);
160160

161161
return mp_const_none;
162162
}
163-
MP_DEFINE_CONST_FUN_OBJ_2(is31fl3741_is31fl3741_set_brightness_obj, is31fl3741_is31fl3741_set_brightness);
163+
MP_DEFINE_CONST_FUN_OBJ_2(is31fl3741_IS31FL3741_set_brightness_obj, is31fl3741_IS31FL3741_set_brightness);
164164

165-
const mp_obj_property_t is31fl3741_is31fl3741_brightness_obj = {
165+
const mp_obj_property_t is31fl3741_IS31FL3741_brightness_obj = {
166166
.base.type = &mp_type_property,
167-
.proxy = {(mp_obj_t)&is31fl3741_is31fl3741_get_brightness_obj,
168-
(mp_obj_t)&is31fl3741_is31fl3741_set_brightness_obj,
167+
.proxy = {(mp_obj_t)&is31fl3741_IS31FL3741_get_brightness_obj,
168+
(mp_obj_t)&is31fl3741_IS31FL3741_set_brightness_obj,
169169
MP_ROM_NONE},
170170
};
171171

@@ -174,118 +174,118 @@ const mp_obj_property_t is31fl3741_is31fl3741_brightness_obj = {
174174
//| they are shown."""
175175
//| ...
176176
//|
177-
STATIC mp_obj_t is31fl3741_is31fl3741_refresh(mp_obj_t self_in) {
178-
is31fl3741_is31fl3741_obj_t *self = (is31fl3741_is31fl3741_obj_t *)self_in;
177+
STATIC mp_obj_t is31fl3741_IS31FL3741_refresh(mp_obj_t self_in) {
178+
is31fl3741_IS31FL3741_obj_t *self = (is31fl3741_IS31FL3741_obj_t *)self_in;
179179
check_for_deinit(self);
180-
common_hal_is31fl3741_is31fl3741_refresh(self, 0);
180+
common_hal_is31fl3741_IS31FL3741_refresh(self, 0);
181181
return mp_const_none;
182182
}
183-
MP_DEFINE_CONST_FUN_OBJ_1(is31fl3741_is31fl3741_refresh_obj, is31fl3741_is31fl3741_refresh);
183+
MP_DEFINE_CONST_FUN_OBJ_1(is31fl3741_IS31FL3741_refresh_obj, is31fl3741_IS31FL3741_refresh);
184184

185185
//| width: int
186186
//| """The width of the display, in pixels"""
187187
//|
188-
STATIC mp_obj_t is31fl3741_is31fl3741_get_width(mp_obj_t self_in) {
189-
is31fl3741_is31fl3741_obj_t *self = (is31fl3741_is31fl3741_obj_t *)self_in;
188+
STATIC mp_obj_t is31fl3741_IS31FL3741_get_width(mp_obj_t self_in) {
189+
is31fl3741_IS31FL3741_obj_t *self = (is31fl3741_IS31FL3741_obj_t *)self_in;
190190
check_for_deinit(self);
191-
return MP_OBJ_NEW_SMALL_INT(common_hal_is31fl3741_is31fl3741_get_width(self));
191+
return MP_OBJ_NEW_SMALL_INT(common_hal_is31fl3741_IS31FL3741_get_width(self));
192192
}
193-
MP_DEFINE_CONST_FUN_OBJ_1(is31fl3741_is31fl3741_get_width_obj, is31fl3741_is31fl3741_get_width);
194-
const mp_obj_property_t is31fl3741_is31fl3741_width_obj = {
193+
MP_DEFINE_CONST_FUN_OBJ_1(is31fl3741_IS31FL3741_get_width_obj, is31fl3741_IS31FL3741_get_width);
194+
const mp_obj_property_t is31fl3741_IS31FL3741_width_obj = {
195195
.base.type = &mp_type_property,
196-
.proxy = {(mp_obj_t)&is31fl3741_is31fl3741_get_width_obj,
196+
.proxy = {(mp_obj_t)&is31fl3741_IS31FL3741_get_width_obj,
197197
MP_ROM_NONE,
198198
MP_ROM_NONE},
199199
};
200200

201201
//| height: int
202202
//| """The height of the display, in pixels"""
203203
//|
204-
STATIC mp_obj_t is31fl3741_is31fl3741_get_height(mp_obj_t self_in) {
205-
is31fl3741_is31fl3741_obj_t *self = (is31fl3741_is31fl3741_obj_t *)self_in;
204+
STATIC mp_obj_t is31fl3741_IS31FL3741_get_height(mp_obj_t self_in) {
205+
is31fl3741_IS31FL3741_obj_t *self = (is31fl3741_IS31FL3741_obj_t *)self_in;
206206
check_for_deinit(self);
207-
return MP_OBJ_NEW_SMALL_INT(common_hal_is31fl3741_is31fl3741_get_height(self));
207+
return MP_OBJ_NEW_SMALL_INT(common_hal_is31fl3741_IS31FL3741_get_height(self));
208208
}
209-
MP_DEFINE_CONST_FUN_OBJ_1(is31fl3741_is31fl3741_get_height_obj, is31fl3741_is31fl3741_get_height);
210-
const mp_obj_property_t is31fl3741_is31fl3741_height_obj = {
209+
MP_DEFINE_CONST_FUN_OBJ_1(is31fl3741_IS31FL3741_get_height_obj, is31fl3741_IS31FL3741_get_height);
210+
const mp_obj_property_t is31fl3741_IS31FL3741_height_obj = {
211211
.base.type = &mp_type_property,
212-
.proxy = {(mp_obj_t)&is31fl3741_is31fl3741_get_height_obj,
212+
.proxy = {(mp_obj_t)&is31fl3741_IS31FL3741_get_height_obj,
213213
MP_ROM_NONE,
214214
MP_ROM_NONE},
215215
};
216216

217-
STATIC const mp_rom_map_elem_t is31fl3741_is31fl3741_locals_dict_table[] = {
218-
{ MP_ROM_QSTR(MP_QSTR_deinit), MP_ROM_PTR(&is31fl3741_is31fl3741_deinit_obj) },
219-
{ MP_ROM_QSTR(MP_QSTR_brightness), MP_ROM_PTR(&is31fl3741_is31fl3741_brightness_obj) },
220-
{ MP_ROM_QSTR(MP_QSTR_refresh), MP_ROM_PTR(&is31fl3741_is31fl3741_refresh_obj) },
221-
{ MP_ROM_QSTR(MP_QSTR_width), MP_ROM_PTR(&is31fl3741_is31fl3741_width_obj) },
222-
{ MP_ROM_QSTR(MP_QSTR_height), MP_ROM_PTR(&is31fl3741_is31fl3741_height_obj) },
217+
STATIC const mp_rom_map_elem_t is31fl3741_IS31FL3741_locals_dict_table[] = {
218+
{ MP_ROM_QSTR(MP_QSTR_deinit), MP_ROM_PTR(&is31fl3741_IS31FL3741_deinit_obj) },
219+
{ MP_ROM_QSTR(MP_QSTR_brightness), MP_ROM_PTR(&is31fl3741_IS31FL3741_brightness_obj) },
220+
{ MP_ROM_QSTR(MP_QSTR_refresh), MP_ROM_PTR(&is31fl3741_IS31FL3741_refresh_obj) },
221+
{ MP_ROM_QSTR(MP_QSTR_width), MP_ROM_PTR(&is31fl3741_IS31FL3741_width_obj) },
222+
{ MP_ROM_QSTR(MP_QSTR_height), MP_ROM_PTR(&is31fl3741_IS31FL3741_height_obj) },
223223
};
224-
STATIC MP_DEFINE_CONST_DICT(is31fl3741_is31fl3741_locals_dict, is31fl3741_is31fl3741_locals_dict_table);
224+
STATIC MP_DEFINE_CONST_DICT(is31fl3741_IS31FL3741_locals_dict, is31fl3741_IS31FL3741_locals_dict_table);
225225

226-
STATIC void is31fl3741_is31fl3741_get_bufinfo(mp_obj_t self_in, mp_buffer_info_t *bufinfo) {
227-
is31fl3741_is31fl3741_obj_t *self = (is31fl3741_is31fl3741_obj_t *)self_in;
226+
STATIC void is31fl3741_IS31FL3741_get_bufinfo(mp_obj_t self_in, mp_buffer_info_t *bufinfo) {
227+
is31fl3741_IS31FL3741_obj_t *self = (is31fl3741_IS31FL3741_obj_t *)self_in;
228228
check_for_deinit(self);
229229

230230
*bufinfo = self->bufinfo;
231231
}
232232

233-
STATIC void is31fl3741_is31fl3741_swapbuffers(mp_obj_t self_in, uint8_t *dirty_row_bitmap) {
234-
common_hal_is31fl3741_is31fl3741_refresh(self_in, dirty_row_bitmap);
233+
STATIC void is31fl3741_IS31FL3741_swapbuffers(mp_obj_t self_in, uint8_t *dirty_row_bitmap) {
234+
common_hal_is31fl3741_IS31FL3741_refresh(self_in, dirty_row_bitmap);
235235
}
236236

237-
STATIC void is31fl3741_is31fl3741_deinit_proto(mp_obj_t self_in) {
238-
common_hal_is31fl3741_is31fl3741_deinit(self_in);
237+
STATIC void is31fl3741_IS31FL3741_deinit_proto(mp_obj_t self_in) {
238+
common_hal_is31fl3741_IS31FL3741_deinit(self_in);
239239
}
240240

241-
STATIC float is31fl3741_is31fl3741_get_brightness_proto(mp_obj_t self_in) {
242-
return common_hal_is31fl3741_is31fl3741_get_paused(self_in) ? 0.0f : 1.0f;
241+
STATIC float is31fl3741_IS31FL3741_get_brightness_proto(mp_obj_t self_in) {
242+
return common_hal_is31fl3741_IS31FL3741_get_paused(self_in) ? 0.0f : 1.0f;
243243
}
244244

245-
STATIC bool is31fl3741_is31fl3741_set_brightness_proto(mp_obj_t self_in, mp_float_t value) {
246-
common_hal_is31fl3741_is31fl3741_set_paused(self_in, value <= 0);
245+
STATIC bool is31fl3741_IS31FL3741_set_brightness_proto(mp_obj_t self_in, mp_float_t value) {
246+
common_hal_is31fl3741_IS31FL3741_set_paused(self_in, value <= 0);
247247
return true;
248248
}
249249

250-
STATIC int is31fl3741_is31fl3741_get_width_proto(mp_obj_t self_in) {
251-
return common_hal_is31fl3741_is31fl3741_get_width(self_in);
250+
STATIC int is31fl3741_IS31FL3741_get_width_proto(mp_obj_t self_in) {
251+
return common_hal_is31fl3741_IS31FL3741_get_width(self_in);
252252
}
253253

254-
STATIC int is31fl3741_is31fl3741_get_height_proto(mp_obj_t self_in) {
255-
return common_hal_is31fl3741_is31fl3741_get_height(self_in);
254+
STATIC int is31fl3741_IS31FL3741_get_height_proto(mp_obj_t self_in) {
255+
return common_hal_is31fl3741_IS31FL3741_get_height(self_in);
256256
}
257257

258-
STATIC int is31fl3741_is31fl3741_get_color_depth_proto(mp_obj_t self_in) {
258+
STATIC int is31fl3741_IS31FL3741_get_color_depth_proto(mp_obj_t self_in) {
259259
// The way displayio works depth is used to calculate bytes
260260
// We use an uint32_t for color already so setting to 24 causes
261261
// more changes required
262262
return 32;
263263
}
264264

265-
STATIC int is31fl3741_is31fl3741_get_bytes_per_cell_proto(mp_obj_t self_in) {
265+
STATIC int is31fl3741_IS31FL3741_get_bytes_per_cell_proto(mp_obj_t self_in) {
266266
return 1;
267267
}
268268

269-
STATIC int is31fl3741_is31fl3741_get_native_frames_per_second_proto(mp_obj_t self_in) {
269+
STATIC int is31fl3741_IS31FL3741_get_native_frames_per_second_proto(mp_obj_t self_in) {
270270
return 60; // This was just chosen may vary based on LEDs used?
271271
}
272272

273-
STATIC const framebuffer_p_t is31fl3741_is31fl3741_proto = {
273+
STATIC const framebuffer_p_t is31fl3741_IS31FL3741_proto = {
274274
MP_PROTO_IMPLEMENT(MP_QSTR_protocol_framebuffer)
275-
.get_bufinfo = is31fl3741_is31fl3741_get_bufinfo,
276-
.set_brightness = is31fl3741_is31fl3741_set_brightness_proto,
277-
.get_brightness = is31fl3741_is31fl3741_get_brightness_proto,
278-
.get_width = is31fl3741_is31fl3741_get_width_proto,
279-
.get_height = is31fl3741_is31fl3741_get_height_proto,
280-
.get_color_depth = is31fl3741_is31fl3741_get_color_depth_proto,
281-
.get_bytes_per_cell = is31fl3741_is31fl3741_get_bytes_per_cell_proto,
282-
.get_native_frames_per_second = is31fl3741_is31fl3741_get_native_frames_per_second_proto,
283-
.swapbuffers = is31fl3741_is31fl3741_swapbuffers,
284-
.deinit = is31fl3741_is31fl3741_deinit_proto,
275+
.get_bufinfo = is31fl3741_IS31FL3741_get_bufinfo,
276+
.set_brightness = is31fl3741_IS31FL3741_set_brightness_proto,
277+
.get_brightness = is31fl3741_IS31FL3741_get_brightness_proto,
278+
.get_width = is31fl3741_IS31FL3741_get_width_proto,
279+
.get_height = is31fl3741_IS31FL3741_get_height_proto,
280+
.get_color_depth = is31fl3741_IS31FL3741_get_color_depth_proto,
281+
.get_bytes_per_cell = is31fl3741_IS31FL3741_get_bytes_per_cell_proto,
282+
.get_native_frames_per_second = is31fl3741_IS31FL3741_get_native_frames_per_second_proto,
283+
.swapbuffers = is31fl3741_IS31FL3741_swapbuffers,
284+
.deinit = is31fl3741_IS31FL3741_deinit_proto,
285285
};
286286

287-
STATIC mp_int_t is31fl3741_is31fl3741_get_buffer(mp_obj_t self_in, mp_buffer_info_t *bufinfo, mp_uint_t flags) {
288-
is31fl3741_is31fl3741_obj_t *self = (is31fl3741_is31fl3741_obj_t *)self_in;
287+
STATIC mp_int_t is31fl3741_IS31FL3741_get_buffer(mp_obj_t self_in, mp_buffer_info_t *bufinfo, mp_uint_t flags) {
288+
is31fl3741_IS31FL3741_obj_t *self = (is31fl3741_IS31FL3741_obj_t *)self_in;
289289
// a readonly framebuffer would be unusual but not impossible
290290
if ((flags & MP_BUFFER_WRITE) && !(self->bufinfo.typecode & MP_OBJ_ARRAY_TYPECODE_FLAG_RW)) {
291291
return 1;
@@ -295,14 +295,14 @@ STATIC mp_int_t is31fl3741_is31fl3741_get_buffer(mp_obj_t self_in, mp_buffer_inf
295295
return 0;
296296
}
297297

298-
const mp_obj_type_t is31fl3741_is31fl3741_type = {
298+
const mp_obj_type_t is31fl3741_IS31FL3741_type = {
299299
{ &mp_type_type },
300300
.flags = MP_TYPE_FLAG_EXTENDED,
301301
.name = MP_QSTR_is31fl3741,
302-
.locals_dict = (mp_obj_dict_t *)&is31fl3741_is31fl3741_locals_dict,
303-
.make_new = is31fl3741_is31fl3741_make_new,
302+
.locals_dict = (mp_obj_dict_t *)&is31fl3741_IS31FL3741_locals_dict,
303+
.make_new = is31fl3741_IS31FL3741_make_new,
304304
MP_TYPE_EXTENDED_FIELDS(
305-
.buffer_p = { .get_buffer = is31fl3741_is31fl3741_get_buffer, },
306-
.protocol = &is31fl3741_is31fl3741_proto,
305+
.buffer_p = { .get_buffer = is31fl3741_IS31FL3741_get_buffer, },
306+
.protocol = &is31fl3741_IS31FL3741_proto,
307307
),
308308
};

shared-bindings/is31fl3741/is31fl3741.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,28 @@
2828

2929
#include "shared-module/is31fl3741/is31fl3741.h"
3030

31-
extern const mp_obj_type_t is31fl3741_is31fl3741_type;
31+
extern const mp_obj_type_t is31fl3741_IS31FL3741_type;
3232

33-
void common_hal_is31fl3741_is31fl3741_construct(is31fl3741_is31fl3741_obj_t *self, int width, int height, mp_obj_t framebuffer, busio_i2c_obj_t *i2c, uint8_t addr, mp_obj_t mapping);
33+
void common_hal_is31fl3741_IS31FL3741_construct(is31fl3741_IS31FL3741_obj_t *self, int width, int height, mp_obj_t framebuffer, busio_i2c_obj_t *i2c, uint8_t addr, mp_obj_t mapping);
3434

35-
void common_hal_is31fl3741_is31fl3741_deinit(is31fl3741_is31fl3741_obj_t *);
35+
void common_hal_is31fl3741_IS31FL3741_deinit(is31fl3741_IS31FL3741_obj_t *);
3636

37-
int common_hal_is31fl3741_is31fl3741_get_width(is31fl3741_is31fl3741_obj_t *self);
38-
int common_hal_is31fl3741_is31fl3741_get_height(is31fl3741_is31fl3741_obj_t *self);
37+
int common_hal_is31fl3741_IS31FL3741_get_width(is31fl3741_IS31FL3741_obj_t *self);
38+
int common_hal_is31fl3741_IS31FL3741_get_height(is31fl3741_IS31FL3741_obj_t *self);
3939

40-
void common_hal_displayio_is31fl3741_begin_transaction(is31fl3741_is31fl3741_obj_t *self);
41-
void common_hal_displayio_is31fl3741_end_transaction(is31fl3741_is31fl3741_obj_t *self);
40+
void common_hal_displayio_is31fl3741_begin_transaction(is31fl3741_IS31FL3741_obj_t *self);
41+
void common_hal_displayio_is31fl3741_end_transaction(is31fl3741_IS31FL3741_obj_t *self);
4242

43-
void common_hal_is31fl3741_is31fl3741_set_global_current(is31fl3741_is31fl3741_obj_t *self, uint8_t current);
44-
uint8_t common_hal_is31fl3741_is31fl3741_get_global_current(is31fl3741_is31fl3741_obj_t *self);
43+
void common_hal_is31fl3741_IS31FL3741_set_global_current(is31fl3741_IS31FL3741_obj_t *self, uint8_t current);
44+
uint8_t common_hal_is31fl3741_IS31FL3741_get_global_current(is31fl3741_IS31FL3741_obj_t *self);
4545

46-
void common_hal_is31fl3741_is31fl3741_set_paused(is31fl3741_is31fl3741_obj_t *self, bool paused);
47-
bool common_hal_is31fl3741_is31fl3741_get_paused(is31fl3741_is31fl3741_obj_t *self);
48-
void common_hal_is31fl3741_is31fl3741_refresh(is31fl3741_is31fl3741_obj_t *self, uint8_t *dirtyrows);
46+
void common_hal_is31fl3741_IS31FL3741_set_paused(is31fl3741_IS31FL3741_obj_t *self, bool paused);
47+
bool common_hal_is31fl3741_IS31FL3741_get_paused(is31fl3741_IS31FL3741_obj_t *self);
48+
void common_hal_is31fl3741_IS31FL3741_refresh(is31fl3741_IS31FL3741_obj_t *self, uint8_t *dirtyrows);
4949

50-
void common_hal_is31fl3741_is31fl3741_reconstruct(is31fl3741_is31fl3741_obj_t *self, mp_obj_t framebuffer);
50+
void common_hal_is31fl3741_IS31FL3741_reconstruct(is31fl3741_IS31FL3741_obj_t *self, mp_obj_t framebuffer);
5151

52-
void is31fl3741_is31fl3741_collect_ptrs(is31fl3741_is31fl3741_obj_t *self);
52+
void is31fl3741_IS31FL3741_collect_ptrs(is31fl3741_IS31FL3741_obj_t *self);
5353

5454
void is31fl3741_send_unlock(busio_i2c_obj_t *i2c, uint8_t addr);
5555
void is31fl3741_set_page(busio_i2c_obj_t *i2c, uint8_t addr, uint8_t p);

0 commit comments

Comments
 (0)