mirror of
https://github.com/kelvinlawson/atomthreads.git
synced 2026-02-28 17:43:16 +01:00
TESTS: Function parameters cannot be named "data" when using Raisonance STM8 compiler.
This commit is contained in:
@@ -70,7 +70,7 @@ static volatile int g_result;
|
||||
|
||||
|
||||
/* Forward declarations */
|
||||
static void test1_thread_func (uint32_t data);
|
||||
static void test1_thread_func (uint32_t param);
|
||||
|
||||
|
||||
/**
|
||||
@@ -215,15 +215,18 @@ uint32_t test_start (void)
|
||||
*
|
||||
* Entry point for test thread 1.
|
||||
*
|
||||
* @param[in] data Unused (optional thread entry parameter)
|
||||
* @param[in] param Unused (optional thread entry parameter)
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
static void test1_thread_func (uint32_t data)
|
||||
static void test1_thread_func (uint32_t param)
|
||||
{
|
||||
uint32_t msg;
|
||||
int num_entries, count, failures;
|
||||
|
||||
/* Compiler warnings */
|
||||
param = param;
|
||||
|
||||
/* Default to no errors */
|
||||
failures = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user