diff options
| author | Dave Astels <dastels@daveastels.com> | 2019-08-21 15:02:51 -0400 |
|---|---|---|
| committer | Dave Astels <dastels@daveastels.com> | 2019-08-21 15:02:51 -0400 |
| commit | d547d59cba9b23cea2d14a1bad84ea330d1b4c87 (patch) | |
| tree | 7f4503a755617b2f3ddbf21e38dcf1e4082cb876 /py/objstr.c | |
| parent | dcf36db26315689fcec6674b31b3222021126c63 (diff) | |
| parent | 42143ca0568c69bec6c60da3ae9a1e8f3ca106ff (diff) | |
Merge remote-tracking branch 'adafruit/master' into displayio_fill_area
Diffstat (limited to 'py/objstr.c')
| -rw-r--r-- | py/objstr.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/py/objstr.c b/py/objstr.c index ebd11d5cc..afe11f00f 100644 --- a/py/objstr.c +++ b/py/objstr.c @@ -41,6 +41,12 @@ STATIC mp_obj_t str_modulo_format(mp_obj_t pattern, size_t n_args, const mp_obj_ STATIC mp_obj_t mp_obj_new_bytes_iterator(mp_obj_t str, mp_obj_iter_buf_t *iter_buf); STATIC NORETURN void bad_implicit_conversion(mp_obj_t self_in); +const char nibble_to_hex_upper[16] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', + 'A', 'B', 'C', 'D', 'E', 'F'}; + +const char nibble_to_hex_lower[16] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', + 'a', 'b', 'c', 'd', 'e', 'f'}; + /******************************************************************************/ /* str */ |
