diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-02-04 18:51:57 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-02-04 18:51:57 +0200 |
| commit | bee3522e23c95021a9637669a8091069af98e0c4 (patch) | |
| tree | 6b3f0148febe174de2b5e5a1baab359f7d1dd5e2 /Software/Embedded_SW/Embedded/Common/Utilities | |
| parent | 3c241f9308d9a9f45278990ae19ef4b48c8240fe (diff) | |
| download | Tango-bee3522e23c95021a9637669a8091069af98e0c4.tar.gz Tango-bee3522e23c95021a9637669a8091069af98e0c4.zip | |
Version 1.4.6.8: remove most of head/whs ifdefs, checked to be working. fix control for missed milliseconds calls and more
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/Utilities')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Common/Utilities/idle_task.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/Utilities/idle_task.c b/Software/Embedded_SW/Embedded/Common/Utilities/idle_task.c index 437e06815..8d1040ea2 100644 --- a/Software/Embedded_SW/Embedded/Common/Utilities/idle_task.c +++ b/Software/Embedded_SW/Embedded/Common/Utilities/idle_task.c @@ -199,9 +199,12 @@ uint32_t unload_max_count=0; #endif } } - void IdleTaskGetLoadTable (uint32_t *Buffer) + void IdleTaskGetLoadTable (uint32_t *aBuffer) { - memcpy (Buffer,idle_load_table,sizeof(idle_load_table)); + int i; + for (i=0;i<100;i++) + aBuffer[i] = idle_load_table[i]; + //memcpy (aBuffer,idle_load_table,sizeof(idle_load_table)); } uint32_t MillisecCounter = 0; uint32_t ControlCounter = 0; |
