apache-mynewt-bot removed a comment on issue #2161: hw/mcu/dialog: Apply trim 
and preferred values
URL: https://github.com/apache/mynewt-core/pull/2161#issuecomment-576755323
 
 
   
   <!-- style-bot -->
   
   ## Style check summary
   
   #### hw/mcu/dialog/da1469x/src/da1469x_pd.c
   <details>
   
   ```diff
   @@ -31,7 +31,7 @@
    };
    
    struct da1469x_pd_trimv {
   -    uint8_t count;
   +    uint8_t  count;
        uint32_t *words;
    };
    
   @@ -189,7 +189,9 @@
            CRG_TOP->PMU_CTRL_REG &= ~bitmask;
    
            bitmask = 1 << (g_da1469x_pd_desc[pd].stat_down_bit + 1);
   -        while ((CRG_TOP->SYS_STAT_REG & bitmask) == 0);
   +        while ((CRG_TOP->SYS_STAT_REG & bitmask) == 0) {
   +            ;
   +        }
    
            if (load) {
                da1469x_pd_apply_trimv(pd);
   @@ -235,7 +237,9 @@
            CRG_TOP->PMU_CTRL_REG |= bitmask;
    
            bitmask = 1 << g_da1469x_pd_desc[pd].stat_down_bit;
   -        while ((CRG_TOP->SYS_STAT_REG & bitmask) == 0);
   +        while ((CRG_TOP->SYS_STAT_REG & bitmask) == 0) {
   +            ;
   +        }
    
            ret = 1;
        }
   ```
   
   </details>
   
   #### hw/mcu/dialog/da1469x/src/system_da1469x.c
   <details>
   
   ```diff
   @@ -50,15 +50,15 @@
                          :
                          : [msplim] "r" (&__StackLimit)
                          :
   -                     );
   +                      );
    
        /* TODO: Check chip version.
   -    assert(CHIP_VERSION->CHIP_ID1_REG == '2');
   -    assert(CHIP_VERSION->CHIP_ID2_REG == '5');
   -    assert(CHIP_VERSION->CHIP_ID3_REG == '2');
   -    assert(CHIP_VERSION->CHIP_ID4_REG == '2');
   -    assert(CHIP_VERSION->CHIP_REVISION_REG == 'A');
   -    assert(CHIP_VERSION->CHIP_TEST1_REG == 'B');
   +       assert(CHIP_VERSION->CHIP_ID1_REG == '2');
   +       assert(CHIP_VERSION->CHIP_ID2_REG == '5');
   +       assert(CHIP_VERSION->CHIP_ID3_REG == '2');
   +       assert(CHIP_VERSION->CHIP_ID4_REG == '2');
   +       assert(CHIP_VERSION->CHIP_REVISION_REG == 'A');
   +       assert(CHIP_VERSION->CHIP_TEST1_REG == 'B');
         */
    
        /* Enable FPU when using hard-float */
   ```
   
   </details>

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to