попытка перенести адреса всех найденных устройств в modbus_data

почему-то вылетает на Dallas_SensorInit
This commit is contained in:
2025-03-05 12:23:39 +03:00
parent 458d2d77c9
commit 54c8a663e4
4 changed files with 6 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
*/
#include "ds18b20_driver.h"
DS18B20_Drv_t DS;
DS18B20_Drv_t *DS;
OneWire_t OW;
/**

View File

@@ -78,7 +78,7 @@ typedef struct
{
uint8_t DevAddr[DS18B20_DEVICE_AMOUNT][8];
} DS18B20_Drv_t;
extern DS18B20_Drv_t DS;
extern DS18B20_Drv_t *DS;;
extern OneWire_t OW;
/* External Function ---------------------------------------------------------*/