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.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Revision 16:bec7dd79f328, committed 2015-12-14
- Comitter:
- Davidroid
- Date:
- Mon Dec 14 17:25:36 2015 +0000
- Parent:
- 15:40470df81d9a
- Child:
- 17:35b9ca8c4bd6
- Commit message:
- + Default initialization structure set to NULL.
Changed in this revision
| Components/l6474/l6474_class.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Components/l6474/l6474_class.h Thu Dec 10 15:04:57 2015 +0000
+++ b/Components/l6474/l6474_class.h Mon Dec 14 17:25:36 2015 +0000
@@ -145,7 +145,7 @@
* @param init Pointer to device specific initalization structure.
* @retval "0" in case of success, an error code otherwise.
*/
- virtual int Init(void *init)
+ virtual int Init(void *init = NULL)
{
return (int) L6474_Init((MOTOR_InitTypeDef *) init);
}