AP_Logger: params always use set method

This commit is contained in:
Iampete1 2022-07-05 04:08:56 +01:00 committed by Peter Hall
parent ea03ea320c
commit 8352a7b2b3
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ void AP_LoggerTest_AllTypes::setup(void)
{
hal.console->printf("Logger All Types 1.0\n");
log_bitmask = (uint32_t)-1;
log_bitmask.set((uint32_t)-1);
logger.Init(log_structure, ARRAY_SIZE(log_structure));
logger.set_vehicle_armed(true);
logger.Write_Message("AP_Logger Test");

View File

@ -52,7 +52,7 @@ void AP_LoggerTest::setup(void)
{
hal.console->printf("Logger Log Test 1.0\n");
log_bitmask = (uint32_t)-1;
log_bitmask.set((uint32_t)-1);
logger.Init(log_structure, ARRAY_SIZE(log_structure));
logger.set_vehicle_armed(true);
logger.Write_Message("AP_Logger Test");