tests/sys_atomic_utils: update to new API
The signature typedefs need to be updated to also include the return value. The test is not otherwise changed.
This commit is contained in:
parent
1893377b59
commit
2208c6a375
@ -47,10 +47,10 @@ typedef enum {
|
|||||||
TEST_WIDTH_NUMOF
|
TEST_WIDTH_NUMOF
|
||||||
} test_width_t;
|
} test_width_t;
|
||||||
|
|
||||||
typedef void (*fetch_op_u8_t)(volatile uint8_t *dest, uint8_t val);
|
typedef uint8_t (*fetch_op_u8_t)(volatile uint8_t *dest, uint8_t val);
|
||||||
typedef void (*fetch_op_u16_t)(volatile uint16_t *dest, uint16_t val);
|
typedef uint16_t (*fetch_op_u16_t)(volatile uint16_t *dest, uint16_t val);
|
||||||
typedef void (*fetch_op_u32_t)(volatile uint32_t *dest, uint32_t val);
|
typedef uint32_t (*fetch_op_u32_t)(volatile uint32_t *dest, uint32_t val);
|
||||||
typedef void (*fetch_op_u64_t)(volatile uint64_t *dest, uint64_t val);
|
typedef uint64_t (*fetch_op_u64_t)(volatile uint64_t *dest, uint64_t val);
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
const char *name;
|
const char *name;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user