Adapted to c++ clock header
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "clock.h"
|
||||
#include "clock.hpp"
|
||||
|
||||
#include <avr/interrupt.h>
|
||||
|
||||
@@ -185,6 +185,7 @@ void spiTest()
|
||||
spi::spi<uartspi> uartSpi;
|
||||
}
|
||||
*/
|
||||
|
||||
static inline void initUart(const uint32_t baudRate)
|
||||
{
|
||||
UBRR1 = static_cast<uint16_t>((F_CPU + 8 * baudRate) / (16 * baudRate) - 1);
|
||||
|
||||
Submodule uart/uart updated: 8153696309...87e6936051
@@ -197,11 +197,11 @@
|
||||
</ListValues>
|
||||
</avrgcccpp.assembler.general.IncludePaths>
|
||||
<avrgcccpp.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcccpp.assembler.debugging.DebugLevel>
|
||||
</AvrGccCpp>
|
||||
</AvrGccCpp>
|
||||
</ToolchainSettings>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="clock.h">
|
||||
<Compile Include="clock.hpp">
|
||||
<SubType>compile</SubType>
|
||||
</Compile>
|
||||
<Compile Include="flash\flash.hpp">
|
||||
|
||||
Reference in New Issue
Block a user