-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
py\obj.c: Get 64-bit integer arg. #8089
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Well, this code fails for each and every port. These lines are wrong:
Should probably be arg_in and not arg. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8089 +/- ##
==========================================
- Coverage 98.53% 98.46% -0.07%
==========================================
Files 169 169
Lines 21822 21837 +15
==========================================
Hits 21502 21502
- Misses 320 335 +15 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There will need to be coverage tests added to ports/unix/coverage.c
to get 100% coverage of this new function.
14a2540
to
c8850b7
Compare
Reset UART on deinit, reduces power consumption on nRF
4f89fba
to
773cd83
Compare
Code size report:
|
365bf24
to
a2b7a98
Compare
41cfe10
to
873d53e
Compare
This reverts commit 4bb475b.
…ython#8089) This reverts commit ec1e7a0.
…rf-uart-power-saving 8.2.x revert micropython#8089 nrf uart power saving
873d53e
to
5b1d9c5
Compare
af71370
to
efbdedf
Compare
Signed-off-by: IhorNehrutsa <Ihor.Nehrutsa@gmail.com>
efbdedf
to
c1e3553
Compare
Add int64_t mp_obj_get_ll_int(mp_obj_t arg_in) function.
It's a pair to the mp_obj_t mp_obj_new_int_from_ll(long long val)
It uses in the
ESP32: New hardware PCNT Counter() and Encoder(). #6639