Forum Discussion
Altera_Forum
Honored Contributor
15 years agoWhy do you define a alt_avalon_spi_command function inside main()?
Just put your code directly inside main() and it will run. I didn't even know this was legal in C...Why do you define a alt_avalon_spi_command function inside main()?
Just put your code directly inside main() and it will run. I didn't even know this was legal in C...