···336336 float frequency = value->vibration.frequency;
337337338338 // A frequency of 0.0f from OpenXR means to let the driver decide.
339339- if (frequency == 0.0f) {
339339+ if (frequency == XRT_FREQUENCY_UNSPECIFIED) {
340340 frequency = DEFAULT_HAPTIC_FREQ;
341341 }
342342