|
|
|
@ -56,7 +56,7 @@ void AP_InertialSensor::BatchSampler::init()
@@ -56,7 +56,7 @@ void AP_InertialSensor::BatchSampler::init()
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
_required_count -= _required_count % 32; // round down to nearest multiple of 32
|
|
|
|
|
_required_count.set(_required_count - (_required_count % 32)); // round down to nearest multiple of 32
|
|
|
|
|
|
|
|
|
|
const uint32_t total_allocation = 3*_required_count*sizeof(uint16_t); |
|
|
|
|
GCS_SEND_TEXT(MAV_SEVERITY_DEBUG, "INS: alloc %u bytes for ISB (free=%u)", (unsigned int)total_allocation, (unsigned int)hal.util->available_memory()); |
|
|
|
|