File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
FprimeZephyrReference/ReferenceDeployment
boards/bronco_space/proves_flight_control_board_v5 Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1010#include < zephyr/kernel.h>
1111#include < zephyr/sys/printk.h>
1212
13- const struct device * ina219Sys = DEVICE_DT_GET(DT_NODELABEL(ina219Sys) );
14- const struct device * ina219Sol = DEVICE_DT_GET(DT_NODELABEL(ina219Sol) );
13+ const struct device * ina219Sys = device_get_binding( " INA219 sys " );
14+ const struct device * ina219Sol = device_get_binding( " INA219 sol " );
1515const struct device * serial = DEVICE_DT_GET(DT_NODELABEL(cdc_acm_uart0));
1616const struct device * lora = DEVICE_DT_GET(DT_NODELABEL(lora0));
1717
Original file line number Diff line number Diff line change @@ -159,14 +159,14 @@ zephyr_udc0: &usbd {
159159 backup-switch-mode = "direct";
160160 label = "RV3028";
161161 };
162- ina219Sys: ina219Sys {
162+ ina219Sys: ina219Sys@40 {
163163 compatible = "ti,ina219";
164164 reg = <0x40>;
165165 shunt-milliohm = <2>;
166166 lsb-microamp = <100>;
167167 label = "INA219 sys";
168168 };
169- ina219Sol: ina219Sol {
169+ ina219Sol: ina219Sol@41 {
170170 compatible = "ti,ina219";
171171 reg = <0x41>;
172172 shunt-milliohm = <2>;
You can’t perform that action at this time.
0 commit comments