ミスの修正

もともと無効化されていた部分を整理時に外してしまったので戻した。
This commit is contained in:
techmadot
2023-08-22 21:23:05 +09:00
parent e0562da5d4
commit 166e3d5b62

View File

@@ -1001,6 +1001,7 @@ int m1ur_device_init(struct m1ur_device *m1ur, struct device *dev,
if (ret)
goto fail_device;
#if 0
ret = it930x_set_gpio_mode(it930x, 11, IT930X_GPIO_OUT, true);
if (ret)
goto fail_device;
@@ -1009,6 +1010,7 @@ int m1ur_device_init(struct m1ur_device *m1ur, struct device *dev,
ret = it930x_write_gpio(it930x, 11, false);
if (ret)
goto fail_device;
#endif
if (px4_device_params.discard_null_packets) {
struct it930x_pid_filter filter;