Skip to content

Commit 84fa331

Browse files
stinosdpgeorge
authored andcommitted
all: Format code to add space after C++-style comment start.
Note: the uncrustify configuration is explicitly set to 'add' instead of 'force' in order not to alter the comments which use extra spaces after // as a means of indenting text for clarity.
1 parent d624356 commit 84fa331

90 files changed

Lines changed: 201 additions & 201 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

extmod/modubinascii.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,4 +248,4 @@ const mp_obj_module_t mp_module_ubinascii = {
248248
.globals = (mp_obj_dict_t *)&mp_module_binascii_globals,
249249
};
250250

251-
#endif //MICROPY_PY_UBINASCII
251+
#endif // MICROPY_PY_UBINASCII

extmod/moducryptolib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,4 +375,4 @@ const mp_obj_module_t mp_module_ucryptolib = {
375375
.globals = (mp_obj_dict_t *)&mp_module_ucryptolib_globals,
376376
};
377377

378-
#endif //MICROPY_PY_UCRYPTOLIB
378+
#endif // MICROPY_PY_UCRYPTOLIB

extmod/moductypes.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ STATIC mp_obj_t uctypes_struct_attr_op(mp_obj_t self_in, qstr attr, mp_obj_t set
431431
mp_int_t offset = MP_OBJ_SMALL_INT_VALUE(deref);
432432
mp_uint_t val_type = GET_TYPE(offset, VAL_TYPE_BITS);
433433
offset &= VALUE_MASK(VAL_TYPE_BITS);
434-
//printf("scalar type=%d offset=%x\n", val_type, offset);
434+
// printf("scalar type=%d offset=%x\n", val_type, offset);
435435

436436
if (val_type <= INT64 || val_type == FLOAT32 || val_type == FLOAT64) {
437437
// printf("size=%d\n", GET_SCALAR_SIZE(val_type));
@@ -501,7 +501,7 @@ STATIC mp_obj_t uctypes_struct_attr_op(mp_obj_t self_in, qstr attr, mp_obj_t set
501501
mp_int_t offset = MP_OBJ_SMALL_INT_VALUE(sub->items[0]);
502502
mp_uint_t agg_type = GET_TYPE(offset, AGG_TYPE_BITS);
503503
offset &= VALUE_MASK(AGG_TYPE_BITS);
504-
//printf("agg type=%d offset=%x\n", agg_type, offset);
504+
// printf("agg type=%d offset=%x\n", agg_type, offset);
505505

506506
switch (agg_type) {
507507
case STRUCT: {
@@ -525,7 +525,7 @@ STATIC mp_obj_t uctypes_struct_attr_op(mp_obj_t self_in, qstr attr, mp_obj_t set
525525
o->desc = MP_OBJ_FROM_PTR(sub);
526526
o->addr = self->addr + offset;
527527
o->flags = self->flags;
528-
//printf("PTR/ARR base addr=%p\n", o->addr);
528+
// printf("PTR/ARR base addr=%p\n", o->addr);
529529
return MP_OBJ_FROM_PTR(o);
530530
}
531531
}

extmod/moduhashlib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,4 +346,4 @@ const mp_obj_module_t mp_module_uhashlib = {
346346
.globals = (mp_obj_dict_t *)&mp_module_uhashlib_globals,
347347
};
348348

349-
#endif //MICROPY_PY_UHASHLIB
349+
#endif // MICROPY_PY_UHASHLIB

extmod/moduheapq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@ const mp_obj_module_t mp_module_uheapq = {
119119
};
120120
#endif
121121

122-
#endif //MICROPY_PY_UHEAPQ
122+
#endif // MICROPY_PY_UHEAPQ

extmod/modujson.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,4 +323,4 @@ const mp_obj_module_t mp_module_ujson = {
323323
.globals = (mp_obj_dict_t *)&mp_module_ujson_globals,
324324
};
325325

326-
#endif //MICROPY_PY_UJSON
326+
#endif // MICROPY_PY_UJSON

extmod/modurandom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,4 +224,4 @@ const mp_obj_module_t mp_module_urandom = {
224224
};
225225
#endif
226226

227-
#endif //MICROPY_PY_URANDOM
227+
#endif // MICROPY_PY_URANDOM

extmod/modure.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,4 +474,4 @@ const mp_obj_module_t mp_module_ure = {
474474
#include "re1.5/recursiveloop.c"
475475
#include "re1.5/charclass.c"
476476

477-
#endif //MICROPY_PY_URE
477+
#endif // MICROPY_PY_URE

extmod/modutimeq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,4 +230,4 @@ const mp_obj_module_t mp_module_utimeq = {
230230
.globals = (mp_obj_dict_t *)&mp_module_utimeq_globals,
231231
};
232232

233-
#endif //MICROPY_PY_UTIMEQ
233+
#endif // MICROPY_PY_UTIMEQ

extmod/moduwebsocket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ STATIC mp_uint_t websocket_read(mp_obj_t self_in, void *buf, mp_uint_t size, int
200200
return 0;
201201
}
202202

203-
//DEBUG_printf("Finished receiving ctrl message %x, ignoring\n", self->last_flags);
203+
// DEBUG_printf("Finished receiving ctrl message %x, ignoring\n", self->last_flags);
204204
continue;
205205
}
206206
}

0 commit comments

Comments
 (0)