|
@@ -109,10 +109,8 @@ typedef struct
|
|
|
*
|
|
*
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
-typedef int32_t (*stmdev_write_ptr)(void *, uint8_t, uint8_t *,
|
|
|
|
|
- uint16_t);
|
|
|
|
|
-typedef int32_t (*stmdev_read_ptr)(void *, uint8_t, uint8_t *,
|
|
|
|
|
- uint16_t);
|
|
|
|
|
|
|
+typedef int32_t (*stmdev_write_ptr)(void *, uint8_t, const uint8_t *, uint16_t);
|
|
|
|
|
+typedef int32_t (*stmdev_read_ptr)(void *, uint8_t, uint8_t *, uint16_t);
|
|
|
|
|
|
|
|
typedef struct
|
|
typedef struct
|
|
|
{
|
|
{
|