utzig commented on a change in pull request #1175: pwm_nrf52: fix crash on 
close not checking playing status
URL: https://github.com/apache/mynewt-core/pull/1175#discussion_r196167122
 
 

 ##########
 File path: hw/drivers/pwm/pwm_nrf52/src/pwm_nrf52.c
 ##########
 @@ -437,7 +440,7 @@ nrf52_pwm_configure_channel(struct pwm_dev *dev,
     struct nrf52_pwm_dev_global *instance = &instances[inst_id];
     nrfx_pwm_config_t *config = &instance->config;
 
-    if (!instance->in_use) {
+    if (!instance->) {
 
 Review comment:
   funny syntax!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to