File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 1111
1212#include <pbdrv/config.h>
1313
14+ #include <stddef.h>
15+
1416#include <pbio/angle.h>
1517#include <pbio/port.h>
1618
@@ -615,6 +617,7 @@ static inline bool pbdrv_legodev_needs_permanent_power(pbdrv_legodev_dev_t *lego
615617}
616618
617619static inline pbio_error_t pbdrv_legodev_get_info (pbdrv_legodev_dev_t * legodev , pbdrv_legodev_info_t * * info ) {
620+ * info = NULL ;
618621 return PBIO_ERROR_NOT_SUPPORTED ;
619622}
620623
@@ -631,6 +634,7 @@ static inline pbio_error_t pbdrv_legodev_set_mode_with_data(pbdrv_legodev_dev_t
631634}
632635
633636static inline pbio_error_t pbdrv_legodev_get_data (pbdrv_legodev_dev_t * legodev , uint8_t mode , void * * data ) {
637+ * data = NULL ;
634638 return PBIO_ERROR_NOT_SUPPORTED ;
635639}
636640
You can’t perform that action at this time.
0 commit comments