Browse Source

fix:PWM6和PWM7误用

alienwalker 3 years ago
parent
commit
761ad1b324
1 changed files with 6 additions and 6 deletions
  1. 6 6
      application/src/luat_pwm_air105.c

+ 6 - 6
application/src/luat_pwm_air105.c

@@ -183,12 +183,12 @@ int luat_pwm_open(int channel, size_t period, size_t pulse,int pnum) {
 		case 5:
 			GPIO_Iomux(GPIOC_07, 2);
 			break;
-		case 6:
-			GPIO_Iomux(GPIOC_08, 2);
-			break;
-		case 7:
-			GPIO_Iomux(GPIOC_09, 2);
-			break;
+//		case 6:
+//			GPIO_Iomux(GPIOC_08, 2);
+//			break;
+//		case 7:
+//			GPIO_Iomux(GPIOC_09, 2);
+//			break;
 		default:
 			break;
 	}