Seed PRNG at the top of main. Remove redundant printf
This commit is contained in:
parent
31611dc9dc
commit
e6e63f2d32
1 changed files with 1 additions and 2 deletions
3
main.c
3
main.c
|
@ -26,8 +26,7 @@ void enter_blink() {
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
SystemInit();
|
SystemInit();
|
||||||
|
sprand(0);
|
||||||
printf("Entering...\n");
|
|
||||||
|
|
||||||
funGpioInitAll();
|
funGpioInitAll();
|
||||||
funPinMode(LED_PIN, GPIO_Speed_10MHz | GPIO_CNF_OUT_PP);
|
funPinMode(LED_PIN, GPIO_Speed_10MHz | GPIO_CNF_OUT_PP);
|
||||||
|
|
Loading…
Add table
Reference in a new issue