yezhonghui2024 commented on code in PR #17487:
URL: https://github.com/apache/nuttx/pull/17487#discussion_r2617865354
##########
drivers/power/battery/battery_charger.c:
##########
@@ -102,11 +105,28 @@ static const struct file_operations g_batteryops =
* Private Functions
****************************************************************************/
-static int battery_charger_notify(FAR struct battery_charger_priv_s *priv,
- uint32_t mask)
+static void battery_charger_work(FAR void *arg)
{
+ FAR struct battery_charger_priv_s *priv =
+ (FAR struct battery_charger_priv_s *)arg;
FAR struct pollfd *fds = priv->fds;
int semcnt;
+
+ if (priv->mask)
Review Comment:
Thanks,Fixed
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]