You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/09/24 09:15:06 UTC

[GitHub] [mynewt-core] 5frank opened a new issue #2380: multiple instances of `struct battery`

5frank opened a new issue #2380:
URL: https://github.com/apache/mynewt-core/issues/2380


   It seems multiple instances of `struct battery` is half supported. It is not configurable and changing
   https://github.com/apache/mynewt-core/blob/a25a08db9b884be617cb4c96b2056076d873c530/hw/battery/src/battery.c#L28
   to >1 will raise other issue(s). Example the code below assumes early loop exit otherwise the assert is raised:
   https://github.com/apache/mynewt-core/blob/a25a08db9b884be617cb4c96b2056076d873c530/hw/battery/src/battery.c#L813-L821


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-core] kasjer closed issue #2380: multiple instances of `struct battery`

Posted by GitBox <gi...@apache.org>.
kasjer closed issue #2380:
URL: https://github.com/apache/mynewt-core/issues/2380


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org