mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
[python] upgrade to micropython 1.12
This commit is contained in:
committed by
LeaNumworks
parent
010fb1894f
commit
7df8c2935a
@@ -165,7 +165,7 @@ bool mp_seq_cmp_bytes(mp_uint_t op, const byte *data1, size_t len1, const byte *
|
||||
size_t min_len = len1 < len2 ? len1 : len2;
|
||||
int res = memcmp(data1, data2, min_len);
|
||||
if (op == MP_BINARY_OP_EQUAL) {
|
||||
// If we are checking for equality, here're the answer
|
||||
// If we are checking for equality, here's the answer
|
||||
return res == 0;
|
||||
}
|
||||
if (res < 0) {
|
||||
|
||||
Reference in New Issue
Block a user