You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
py/builtinhelp: Change occurrence of mp_uint_t to size_t.
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ STATIC void mp_help_print_modules(void) {
|
||||
// print the list of modules in a column-first order
|
||||
#define NUM_COLUMNS (4)
|
||||
#define COLUMN_WIDTH (18)
|
||||
mp_uint_t len;
|
||||
size_t len;
|
||||
mp_obj_t *items;
|
||||
mp_obj_list_get(list, &len, &items);
|
||||
unsigned int num_rows = (len + NUM_COLUMNS - 1) / NUM_COLUMNS;
|
||||
|
||||
Reference in New Issue
Block a user