Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of X_NUCLEO_IKS01A1 by
Diff: Components/lis3mdl/lis3mdl_class.h
- Revision:
- 38:e06de1c26727
- Parent:
- 36:8c73dbe43cf2
- Child:
- 39:1b0ddec25f87
- Child:
- 43:2544d064d528
--- a/Components/lis3mdl/lis3mdl_class.h Thu Jun 04 14:09:11 2015 +0200 +++ b/Components/lis3mdl/lis3mdl_class.h Fri Jun 05 16:54:47 2015 +0200 @@ -122,8 +122,8 @@ * @param pBuffer pointer to buffer to be filled. * @param RegisterAddr specifies internal address register to read from. * @param NumByteToWrite number of bytes to write. - * @retval 0 if ok - * @retval -1 if an I2C error has occured + * @retval MAGNETO_OK if ok + * @retval MAGNETO_ERROR if an I2C error has occured */ MAGNETO_StatusTypeDef LIS3MDL_IO_Write(uint8_t* pBuffer, uint8_t RegisterAddr, uint16_t NumByteToWrite)
