• Initializing structs with memset

    Why is it a standard in nordic-supplied code to initialize structs with memset like so? An example would be: ble_gatts_char_md_t char_md; memset(&char_md, 0, sizeof(char_md)); Instead of a cleaner way: ble_gatts_char_md_t char_md = {0}; …