Explorar el Código

fix:PWM6和PWM7误用

alienwalker hace 4 años
padre
commit
761ad1b324
Se han modificado 1 ficheros con 6 adiciones y 6 borrados
  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;
 	}