From db1e1b719af59c14a5cb10b5530af9c0bdcf4d8b Mon Sep 17 00:00:00 2001 From: isiora Date: Sun, 18 Mar 2018 23:03:46 +0000 Subject: Improved the examples. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11819 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/main.c | 4 ++-- demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/tservices.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'demos') diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/main.c b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/main.c index 4e816b741..e4564d65a 100755 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/main.c +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/main.c @@ -163,8 +163,8 @@ int main(void) { * Creates the blinker thread (and any other ancillary thread). */ chThdCreateStatic(waThread1, sizeof waThread1, NORMALPRIO, Thread1, NULL); - chThdCreateStatic(waThreadTcp1, sizeof waThreadTcp1, NORMALPRIO+10, ThreadTcp, (void *)8080); - chThdCreateStatic(waThreadTcp2, sizeof waThreadTcp2, NORMALPRIO+10, ThreadTcp, (void *)8081); + chThdCreateStatic(waThreadTcp1, sizeof waThreadTcp1, NORMALPRIO+1, ThreadTcp, (void *)8080); + chThdCreateStatic(waThreadTcp2, sizeof waThreadTcp2, NORMALPRIO+1, ThreadTcp, (void *)8081); /* * System initializations. diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/tservices.c b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/tservices.c index 042257e2a..4b822246e 100644 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/tservices.c +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/tservices.c @@ -97,7 +97,7 @@ static THD_FUNCTION(TsSimpleService, tsstate) { TS_STATE_TABLE TS_CONF_TABLE_BEGIN TS_CONF_TABLE_ENTRY("TsSimpleService", waTsSimpleService, TS_BASE_PRIO, TsSimpleService, TS_STATE(0)) - TS_CONF_TABLE_ENTRY("TsStubsService", waTsStubsService, TS_BASE_PRIO+10, TsStubsService, TS_STATE(1)) + TS_CONF_TABLE_ENTRY("TsStubsService", waTsStubsService, TS_BASE_PRIO+1, TsStubsService, TS_STATE(1)) TS_CONF_TABLE_END /** @} */ -- cgit v1.2.3