mirror of
https://github.com/okalachev/flix.git
synced 2026-01-11 21:46:55 +00:00
Change C++ code style: put curly brace on the same line
This commit is contained in:
@@ -11,14 +11,12 @@ const uint16_t channelMax[] = {1651, 1540, 1713, 1630, 1472, 1472};
|
||||
|
||||
SBUS RC(Serial2);
|
||||
|
||||
void setupRC()
|
||||
{
|
||||
void setupRC() {
|
||||
Serial.println("Setup RC");
|
||||
RC.begin();
|
||||
}
|
||||
|
||||
void readRC()
|
||||
{
|
||||
void readRC() {
|
||||
bool failSafe, lostFrame;
|
||||
if (RC.read(channels, &failSafe, &lostFrame)) {
|
||||
if (failSafe) { return; } // TODO:
|
||||
|
||||
Reference in New Issue
Block a user