diff --git a/sdk b/sdk index 46b99dd..ec9aaef 160000 --- a/sdk +++ b/sdk @@ -1 +1 @@ -Subproject commit 46b99dd9fdb301314155efa2d5728cc863f59636 +Subproject commit ec9aaef27a8c4c88db168b48b214592068758ac7 diff --git a/usrc/main.cpp b/usrc/main.cpp index b4ae1cf..04c06d4 100644 --- a/usrc/main.cpp +++ b/usrc/main.cpp @@ -122,6 +122,7 @@ void umain() { input[6].initAsInput(ARM_SENSOR7_GPIO, ZGPIO::kMode_nopull, ZGPIO::kIRQ_noIrq, false); input[7].initAsInput(ARM_SENSOR8_GPIO, ZGPIO::kMode_nopull, ZGPIO::kIRQ_noIrq, false); +#if 0 { xyRobotCtrlModule.initialize(&motora, &motorb, &input[6], &input[7], 1.0f); XYRobotCtrlModule::run_param_t param; @@ -151,7 +152,7 @@ void umain() { stepMotorCtrlModule.initialize(1, &motora, &input[6], NULL); zcanStepMotorCtrlModule.initialize(&zcanCmder, 1, &stepMotorCtrlModule); } - +#endif extern DMA_HandleTypeDef hdma_usart2_rx; extern DMA_HandleTypeDef hdma_usart2_tx;