mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Default behaviour is to run to end of main
This commit is contained in:
parent
7b7b08e626
commit
3cdc9ae0ca
7 changed files with 12 additions and 19 deletions
|
|
@ -59,16 +59,3 @@ static uint32_t syscall(uint32_t id, uint32_t param) {
|
|||
|
||||
#include "uvm32_common_custom.h"
|
||||
|
||||
// provide main, with setup()/loop() flow
|
||||
void setup(void);
|
||||
bool loop(void);
|
||||
|
||||
#ifndef USE_MAIN
|
||||
void main(void) {
|
||||
setup();
|
||||
while(loop()) {
|
||||
yield();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue