Skip to content
Snippets Groups Projects
Forked from card10 / firmware
702 commits behind the upstream repository.
  • rahix's avatar
    4107bd22
    hack(ble): Temporarily silence a warning · 4107bd22
    rahix authored
    
    With the increased warning-level, GCC warns about three unused fields in
    `bleSmpCfg`:
    
        - maxAttemptTimeout: Maximum 'Repeated attempts' timeout in msec
        - attemptDecTimeout: Time msec before attemptExp decreases
        - attemptExp: Exponent to raise attemptTimeout on maxAttempts
    
    These should probably be set to sensible values but to make !360
    mergeable, explicitly set them to zero for now.
    
    Signed-off-by: default avatarRahix <rahix@rahix.de>
    4107bd22
    History
    hack(ble): Temporarily silence a warning
    rahix authored
    
    With the increased warning-level, GCC warns about three unused fields in
    `bleSmpCfg`:
    
        - maxAttemptTimeout: Maximum 'Repeated attempts' timeout in msec
        - attemptDecTimeout: Time msec before attemptExp decreases
        - attemptExp: Exponent to raise attemptTimeout on maxAttempts
    
    These should probably be set to sensible values but to make !360
    mergeable, explicitly set them to zero for now.
    
    Signed-off-by: default avatarRahix <rahix@rahix.de>
ble_main.c 19.34 KiB