mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-18 19:01:47 +03:00
1f761d7fbb
* maxim crc function * one wire template device and ds1990 classes * 3 fields for addr * cyfral emulator lib * add cyfral read mode, refract rendering and events * add ADC1_IN14, add adc interrupt * cyfral read mode * rename and move api-hal includes folder * build onewire libs only if we build app * start in mode 0
18 lines
841 B
C++
18 lines
841 B
C++
#include "one_wire_timings.h"
|
|
|
|
// fix pre C++17 "undefined reference" errors
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::RESET_TIMEOUT;
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::RESET_MIN[2];
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::RESET_MAX[2];
|
|
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::PRESENCE_TIMEOUT;
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::PRESENCE_MIN[2];
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::PRESENCE_MAX[2];
|
|
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::MSG_HIGH_TIMEOUT;
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::SLOT_MAX[2];
|
|
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::READ_MIN[2];
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::READ_MAX[2];
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::WRITE_ZERO[2];
|