mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_Terrain: removed incorrect ASSERT
This commit is contained in:
parent
7bc6561f2a
commit
ce60bf8d3f
@ -240,7 +240,6 @@ void AP_Terrain::handle_terrain_data(mavlink_message_t *msg)
|
||||
for (uint8_t x=0; x<TERRAIN_GRID_MAVLINK_SIZE; x++) {
|
||||
for (uint8_t y=0; y<TERRAIN_GRID_MAVLINK_SIZE; y++) {
|
||||
grid.height[idx_x+x][idx_y+y] = packet.data[x*TERRAIN_GRID_MAVLINK_SIZE+y];
|
||||
ASSERT_RANGE(grid.height[idx_x+x][idx_y+y], 1, 20000);
|
||||
}
|
||||
}
|
||||
gcache.grid.bitmap |= ((uint64_t)1) << packet.gridbit;
|
||||
|
Loading…
Reference in New Issue
Block a user