Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct OmnibusNanov6 build #12800

Open
wants to merge 3 commits into
base: master
from
Open
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -61,6 +61,7 @@
#define HAL_BOARD_SUBTYPE_CHIBIOS_VRUBRAIN_V51 5018
#define HAL_BOARD_SUBTYPE_CHIBIOS_VRCORE_V10 5019
#define HAL_BOARD_SUBTYPE_CHIBIOS_VRBRAIN_V54 5020
#define HAL_BOARD_SUBTYPE_CHIBIOS_OMNIBUSNANOV6 5021

/* InertialSensor driver types */
#define HAL_INS_NONE 0
@@ -426,11 +426,11 @@ void SPIDevice::test_clock_freq(void)
hal.console->printf("Waiting for USB\n");
for (uint8_t i=0; i<3; i++) {
hal.scheduler->delay(1000);
hal.console->printf("Waiting %u\n", AP_HAL::millis());
hal.console->printf("Waiting %u\n", unsigned(AP_HAL::millis()));
}
hal.console->printf("CLOCKS=\n");
for (uint8_t i=0; i<ARRAY_SIZE(bus_clocks); i++) {
hal.console->printf("%u:%u ", i+1, bus_clocks[i]);
hal.console->printf("%u:%u ", i+1, unsigned(bus_clocks[i]));
}
hal.console->printf("\n");

@@ -151,3 +151,4 @@ define BOARD_PWM_COUNT_DEFAULT 4

#font for the osd
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
define HAL_SPI_CHECK_CLOCK_FREQ 1
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.