forked from EmbeddedTeam/app_photomagnetic
Remove unused pwm-servo binding, disable heading_pad module, and reduce
sensor polling rate
This commit is contained in:
parent
aed11ecee8
commit
2692282ba3
@ -1,24 +0,0 @@
|
|||||||
# Copyright (c) 2022 Nordic Semiconductor ASA
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
description: PWM-driven servo motor.
|
|
||||||
|
|
||||||
compatible: "pwm-servo"
|
|
||||||
|
|
||||||
include: base.yaml
|
|
||||||
|
|
||||||
properties:
|
|
||||||
pwms:
|
|
||||||
required: true
|
|
||||||
type: phandle-array
|
|
||||||
description: PWM specifier driving the servo motor.
|
|
||||||
|
|
||||||
min-pulse:
|
|
||||||
required: true
|
|
||||||
type: int
|
|
||||||
description: Minimum pulse width (nanoseconds).
|
|
||||||
|
|
||||||
max-pulse:
|
|
||||||
required: true
|
|
||||||
type: int
|
|
||||||
description: Maximum pulse width (nanoseconds).
|
|
||||||
@ -56,7 +56,7 @@ auto main(void) -> int {
|
|||||||
if (auto v = GetmaxTemp(); v.has_value()) {
|
if (auto v = GetmaxTemp(); v.has_value()) {
|
||||||
ther::Com::Send(v.value());
|
ther::Com::Send(v.value());
|
||||||
}
|
}
|
||||||
k_sleep(K_MSEC(20));
|
k_sleep(K_MSEC(50));
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
8
west.yml
8
west.yml
@ -34,10 +34,10 @@ manifest:
|
|||||||
path: modules/godtek_temp
|
path: modules/godtek_temp
|
||||||
remote: robotstorm
|
remote: robotstorm
|
||||||
revision: main
|
revision: main
|
||||||
- name: heading_pad
|
# - name: heading_pad
|
||||||
path: modules/heading_pad
|
# path: modules/heading_pad
|
||||||
revision: main
|
# revision: main
|
||||||
url: undefined
|
# url: undefined
|
||||||
remotes:
|
remotes:
|
||||||
- name: zephyr
|
- name: zephyr
|
||||||
url-base: https://gitcode.com/gh_mirrors/ze
|
url-base: https://gitcode.com/gh_mirrors/ze
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user