Is there a setting that causes me to only get gyro data every 30 seconds?

With the following settings, sensor_data is called every second and there are only 25 data every 30 seconds the rest of the time there are 25 null values.

If I went to FIT file with SensorLogging.SensorLogger({:gyroscope => {:enabled => true}}); settings, even then the file only has one line with 25 values every 30 seconds.

ConnectIQ SDK 6.3.1
Fenix 5 plus

var maxSampleRate = Sensor.getMaxSampleRate(); //25
var options = {:period => 1, :gyroscope => {:enabled => true, :sampleRate => maxSampleRate}};
Sensor.registerSensorDataListener(method(:sensor_data), options);
...

public function sensor_data(sensorInfo as SensorData) as Void {
var gyroData = sensorInfo.gyroscopeData;
...