Flipper/Applications/Official/source-OLDER/xMasterX/flipper-dcf77/dcf77_util.h

18 lines
423 B
C
Raw Normal View History

2023-01-26 07:52:38 +00:00
#ifndef __arha_dcf77util_h
#define __arha_dcf77util_h
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
void set_dcf_message(uint8_t* dest, uint8_t minute, uint8_t hour,
uint8_t day, uint8_t month, uint8_t year, uint8_t dow,
bool dst, bool predst, bool abnormal, bool leap, uint16_t civbits);
#ifndef BBIT
#define BBIT(B,shift) (!!(B & (1 << shift)))
#endif
#endif