Skip to content

Commit 129c636

Browse files
committed
protomatter: code style
1 parent 4a05e93 commit 129c636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/_protomatter/Protomatter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ STATIC const framebuffer_p_t protomatter_protomatter_proto = {
332332
STATIC mp_int_t protomatter_protomatter_get_buffer(mp_obj_t self_in, mp_buffer_info_t *bufinfo, mp_uint_t flags) {
333333
protomatter_protomatter_obj_t *self = (protomatter_protomatter_obj_t*)self_in;
334334
// a readonly framebuffer would be unusual but not impossible
335-
if((flags & MP_BUFFER_WRITE) && !(self->bufinfo.typecode & MP_OBJ_ARRAY_TYPECODE_FLAG_RW)) {
335+
if ((flags & MP_BUFFER_WRITE) && !(self->bufinfo.typecode & MP_OBJ_ARRAY_TYPECODE_FLAG_RW)) {
336336
return 1;
337337
}
338338
*bufinfo = self->bufinfo;

0 commit comments

Comments
 (0)