Project

General

Profile

Revision 1106

View differences:

dragonfly_lib.h
80 80
#include <util/delay.h>
81 81
#include <util/twi.h>
82 82

  
83
// This file is included from the libdragonfly directory because it seems to be
84
// missing from the AVR libc distribution.
85
#include "atomic.h"
86

  
83 87
#include <analog.h>
84 88
#include <dio.h>
85 89
#include <time.h>
......
96 100
#include <eeprom.h>
97 101
#include <stdbool.h>
98 102

  
103
/** @brief shortcut for ATOMIC_BLOCK(ATOMIC_RESTORESTATE) **/
104
#define SYNC ATOMIC_BLOCK(ATOMIC_RESTORESTATE)
105

  
106

  
99 107
#endif
100 108

  

Also available in: Unified diff