cpu/atmega_common: fixed doxygen issues

This commit is contained in:
Hauke Petersen 2017-03-06 17:12:55 +01:00
parent 37d4f44379
commit ef3cdde903
2 changed files with 10 additions and 4 deletions

View File

@ -28,9 +28,8 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE. */ POSSIBILITY OF SUCH DAMAGE. */
#ifndef ERRNO_H #ifndef ERRNO_H
#define ERRNO_H_ 1 #define ERRNO_H
/** /**
* @addtogroup cpu_atmega_common * @addtogroup cpu_atmega_common
@ -55,6 +54,9 @@
extern "C" { extern "C" {
#endif #endif
/**
* @brief Export errno value
*/
extern int errno; extern int errno;
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -16,9 +16,13 @@
extern "C" { extern "C" {
#endif #endif
/**
* @brief Definition of struct timeval for the atmega
*
*/
struct timeval { struct timeval {
time_t tv_sec; time_t tv_sec; /**< seconds */
suseconds_t tv_usec; suseconds_t tv_usec; /**< microseconds */
}; };
#ifdef __cplusplus #ifdef __cplusplus