mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-24 22:07:14 +03:00
cf1c8fb223
* sepate one wire class * TM2004 writer * app mode write ds1990 * test another blanks protocol * new ibutton slave * one wire states * tim1 capture compare and update interrupts * interrupt mgr, new timers IRQ * discard HAL_TIM_PeriodElapsedCallback from main * add exti_14 line * add external interrupt callback * use int mgr in input * better interrupt managment * add interrupt callback enable and disable fns * properly init app * changed timings * rename one wire classes * use new owb classes * properly remove interrupts * new blanks writer * remove unused tests * new core includes * extern c guard * fix api_interrupt_remove usage * remove debug info, new way to detect blanks writing * remove copy constructor * change keys template * fix app sources recipe
17 lines
748 B
C++
17 lines
748 B
C++
#include "one_wire_timings.h"
|
|
|
|
// fix pre C++17 "undefined reference" errors
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::RESET_MIN;
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::RESET_MAX;
|
|
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::PRESENCE_TIMEOUT;
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::PRESENCE_MIN;
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::PRESENCE_MAX;
|
|
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::MSG_HIGH_TIMEOUT;
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::SLOT_MAX;
|
|
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::READ_MIN;
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::READ_MAX;
|
|
constexpr const OneWiteTimeType OneWireEmulateTiming::WRITE_ZERO;
|