Small improvement.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7385 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2014-10-07 14:37:38 +00:00
parent 366ed30eea
commit 6110e63719
1 changed files with 5 additions and 1 deletions

View File

@ -33,11 +33,15 @@ static void Thread1(void const *arg) {
}
}
/*
* Thread definition block.
*/
osThreadDef(Thread1, osPriorityAboveNormal, 1, 128);
/*
* Application entry point.
*/
int main(void) {
osThreadDef(Thread1, osPriorityAboveNormal, 1, 128);
/* HAL initialization, this also initializes the configured device drivers
and performs the board-specific initializations.*/