mirror of
https://github.com/kelvinlawson/atomthreads.git
synced 2026-01-11 18:33:16 +01:00
Rename parameter name from "data" to "param" - it appears that data is a reserved word with one of the STM8S compilers.
This commit is contained in:
@@ -620,12 +620,15 @@ void atomOSStart (void)
|
||||
* no other threads are ready to run. It must not call any library routines
|
||||
* which would cause it to block.
|
||||
*
|
||||
* @param[in] data Unused (optional thread entry parameter)
|
||||
* @param[in] param Unused (optional thread entry parameter)
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
static void atomIdleThread (uint32_t data)
|
||||
static void atomIdleThread (uint32_t param)
|
||||
{
|
||||
/* Compiler warning */
|
||||
param = param;
|
||||
|
||||
/* Loop forever */
|
||||
while (1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user