This commit is contained in:
lyon 2022-01-11 09:47:32 +08:00
commit d0d0a5294b
7 changed files with 7 additions and 7 deletions

View File

@ -342,7 +342,7 @@ while True:
## Demo 04 PWM output
```
``` python
import PikaStdLib
import STM32G0

View File

@ -364,7 +364,7 @@ while True:
## Demo 04 PWM output
```
``` python
import PikaStdLib
import STM32G0

View File

@ -106,4 +106,4 @@ void PikaStdDevice_GPIO_platformOn(PikaObj* self) {
void PikaStdDevice_GPIO_platformRead(PikaObj *self){
obj_setErrorCode(self, 1);
obj_setSysOut(self, "[error] platform method need to be override.");
}
}

View File

@ -20,4 +20,4 @@ float PikaStdLib_MemChecker_getMax(PikaObj* self) {
float PikaStdLib_MemChecker_getNow(PikaObj* self) {
return pikaMemNow() / 1024.0;
}
}

View File

@ -28,4 +28,4 @@ Arg* PikaStdLib_RangeObj___next__(PikaObj* self) {
}
args_setInt(self->list, "iter_i", iter_i + foot);
return arg_setInt(NULL, "", iter_i);
}
}

View File

@ -12,4 +12,4 @@ Arg* PikaStdLib_StringObj___next__(PikaObj* self) {
iter_i = 0;
}
return arg_setNull(NULL);
}
}

View File

@ -165,4 +165,4 @@ char* strsReplace(Args* buffs, char* orig, char* rep, char* with) {
}
strcpy(tmp, orig);
return result;
}
}