Fixed comments and code style of UAVCAN node

This commit is contained in:
Lorenz Meier
2014-05-07 14:29:30 +02:00
parent de5bdbb863
commit 973b193261
3 changed files with 55 additions and 17 deletions
+10 -3
View File
@@ -1,7 +1,6 @@
/****************************************************************************
*
* Copyright (C) 2014 PX4 Development Team. All rights reserved.
* Author: Pavel Kirienko <pavel.kirienko@gmail.com>
* Copyright (c) 2014 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -35,6 +34,14 @@
#include <uavcan_stm32/uavcan_stm32.hpp>
#include <drivers/drv_hrt.h>
/**
* @file uavcan_clock.cpp
*
* Implements a clock for the CAN node.
*
* @author Pavel Kirienko <pavel.kirienko@gmail.com>
*/
namespace uavcan_stm32
{
namespace clock
@@ -62,7 +69,7 @@ uavcan::uint64_t getUtcUSecFromCanInterrupt()
} // namespace clock
SystemClock& SystemClock::instance()
SystemClock &SystemClock::instance()
{
static SystemClock inst;
return inst;