LMS_SetNCOFrequency reads freq[i] for all 16 entries and LMS_GetNCOFrequency writes freq[i], neither checking the pointer, while the companion pho pointer is guarded in the getter. Legacy LimeSuite guarded both with if (freq != nullptr), explicitly allowing a null table to mean "set/read only the phase offset", and the sibling LMS_SetNCOPhase / LMS_GetNCOPhase in this same file already guard their array pointer.
LMS_SetNCOFrequencyreadsfreq[i]for all 16 entries andLMS_GetNCOFrequencywritesfreq[i], neither checking the pointer, while the companionphopointer is guarded in the getter. Legacy LimeSuite guarded both withif (freq != nullptr), explicitly allowing a null table to mean "set/read only the phase offset", and the siblingLMS_SetNCOPhase/LMS_GetNCOPhasein this same file already guard their array pointer.