Código finalizado do projeto!!
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_IHM01A1 by
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);
}
