diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2019-08-16 14:50:00 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-16 14:50:00 -0700 |
| commit | 85d7398476687a3abdbb142d79b8302ac43ef760 (patch) | |
| tree | 076af19d9c4d25bdb37d5dd563db0e10884c7b7f /py/objstr.c | |
| parent | d244f7e070efd27bc0904bcb712ebafda332cffb (diff) | |
| parent | 630c92392abef67b0e6f81c98316dea93d3b2376 (diff) | |
Merge pull request #2066 from dhalbert/ble-pairing
BLE: more features
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 */ |
