Skip to content

Commit 5ac9bf7

Browse files
committed
Fix issue in the reg file
1 parent aafd760 commit 5ac9bf7

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=STM32duino ILPS22QS
2-
version=1.0.0
2+
version=1.0.1
33
author=STMicroelectronics
44
maintainer=stm32duino
55
sentence=Nano pressure sensor.

src/ilps22qs_reg.h

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -99,33 +99,6 @@ typedef struct {
9999
#define PROPERTY_DISABLE (0U)
100100
#define PROPERTY_ENABLE (1U)
101101

102-
/** @addtogroup Interfaces_Functions
103-
* @brief This section provide a set of functions used to read and
104-
* write a generic register of the device.
105-
* MANDATORY: return 0 -> no Error.
106-
* @{
107-
*
108-
*/
109-
110-
typedef int32_t (*ilps22qs_write_ptr)(void *, uint8_t, uint8_t *, uint16_t);
111-
typedef int32_t (*ilps22qs_read_ptr)(void *, uint8_t, uint8_t *, uint16_t);
112-
typedef void (*ilps22qs_mdelay_ptr)(uint32_t millisec);
113-
114-
typedef struct {
115-
/** Component mandatory fields **/
116-
ilps22qs_write_ptr write_reg;
117-
ilps22qs_read_ptr read_reg;
118-
/** Component optional fields **/
119-
ilps22qs_mdelay_ptr mdelay;
120-
/** Customizable optional pointer **/
121-
void *handle;
122-
} ilps22qs_ctx_t;
123-
124-
/**
125-
* @}
126-
*
127-
*/
128-
129102
#endif /* MEMS_SHARED_TYPES */
130103

131104
#ifndef MEMS_UCF_SHARED_TYPES
@@ -154,6 +127,33 @@ typedef struct {
154127

155128
#endif /* MEMS_UCF_SHARED_TYPES */
156129

130+
/**
131+
* @}
132+
*
133+
*/
134+
135+
/** @addtogroup Interfaces_Functions
136+
* @brief This section provide a set of functions used to read and
137+
* write a generic register of the device.
138+
* MANDATORY: return 0 -> no Error.
139+
* @{
140+
*
141+
*/
142+
143+
typedef int32_t (*ilps22qs_write_ptr)(void *, uint8_t, uint8_t *, uint16_t);
144+
typedef int32_t (*ilps22qs_read_ptr)(void *, uint8_t, uint8_t *, uint16_t);
145+
typedef void (*ilps22qs_mdelay_ptr)(uint32_t millisec);
146+
147+
typedef struct {
148+
/** Component mandatory fields **/
149+
ilps22qs_write_ptr write_reg;
150+
ilps22qs_read_ptr read_reg;
151+
/** Component optional fields **/
152+
ilps22qs_mdelay_ptr mdelay;
153+
/** Customizable optional pointer **/
154+
void *handle;
155+
} ilps22qs_ctx_t;
156+
157157
/**
158158
* @}
159159
*

0 commit comments

Comments
 (0)