Skip to content

Commit 950ea2a

Browse files
committed
fix linting errors
1 parent 76b828f commit 950ea2a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/BlenderServoAnimation.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
#include "AnimationData.h"
2+
#include "CommonTypes.h"
23
#include "Scene.h"
34
#include "ServoManager.h"
4-
#include "CommonTypes.h"
55
#include <Arduino.h>
66
#include <stdarg.h>
77

88
#ifndef BlenderServoAnimation_H
99
#define BlenderServoAnimation_H
1010

1111
using BlenderServoAnimationLibrary::AnimationData;
12-
using BlenderServoAnimationLibrary::Scene;
13-
using BlenderServoAnimationLibrary::ServoManager;
1412
using BlenderServoAnimationLibrary::ModeCallback;
1513
using BlenderServoAnimationLibrary::PositionCallback;
14+
using BlenderServoAnimationLibrary::Scene;
1615
using BlenderServoAnimationLibrary::SceneCallback;
16+
using BlenderServoAnimationLibrary::ServoManager;
1717

1818
class BlenderServoAnimation {
1919

src/CommonTypes.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
namespace BlenderServoAnimationLibrary {
77

8-
typedef void (*ModeCallback)(byte, byte); // Mode callback
9-
typedef void (*PositionCallback)(byte, int); // Position callback
10-
typedef void (*SceneCallback)(byte, byte); // Scene callback
8+
typedef void (*ModeCallback)(byte, byte);
9+
typedef void (*PositionCallback)(byte, int);
10+
typedef void (*SceneCallback)(byte, byte);
1111

12-
} // BlenderServoAnimationLibrary
12+
} // namespace BlenderServoAnimationLibrary
1313

1414
#endif

src/ServoManager.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "AnimationData.h"
22
#include "Command.h"
3-
#include "Servo.h"
43
#include "CommonTypes.h"
4+
#include "Servo.h"
55
#include <Arduino.h>
66

77
#ifndef BlenderServoAnimationLibrary_ServoManager_H

0 commit comments

Comments
 (0)