Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
timhendriks93 committed Jul 27, 2024
1 parent 76b828f commit 950ea2a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/BlenderServoAnimation.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#include "AnimationData.h"
#include "CommonTypes.h"
#include "Scene.h"
#include "ServoManager.h"
#include "CommonTypes.h"
#include <Arduino.h>
#include <stdarg.h>

#ifndef BlenderServoAnimation_H
#define BlenderServoAnimation_H

using BlenderServoAnimationLibrary::AnimationData;
using BlenderServoAnimationLibrary::Scene;
using BlenderServoAnimationLibrary::ServoManager;
using BlenderServoAnimationLibrary::ModeCallback;
using BlenderServoAnimationLibrary::PositionCallback;
using BlenderServoAnimationLibrary::Scene;
using BlenderServoAnimationLibrary::SceneCallback;
using BlenderServoAnimationLibrary::ServoManager;

class BlenderServoAnimation {

Expand Down
8 changes: 4 additions & 4 deletions src/CommonTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

namespace BlenderServoAnimationLibrary {

typedef void (*ModeCallback)(byte, byte); // Mode callback
typedef void (*PositionCallback)(byte, int); // Position callback
typedef void (*SceneCallback)(byte, byte); // Scene callback
typedef void (*ModeCallback)(byte, byte);
typedef void (*PositionCallback)(byte, int);
typedef void (*SceneCallback)(byte, byte);

} // BlenderServoAnimationLibrary
} // namespace BlenderServoAnimationLibrary

#endif
2 changes: 1 addition & 1 deletion src/ServoManager.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "AnimationData.h"
#include "Command.h"
#include "Servo.h"
#include "CommonTypes.h"
#include "Servo.h"
#include <Arduino.h>

#ifndef BlenderServoAnimationLibrary_ServoManager_H
Expand Down

0 comments on commit 950ea2a

Please sign in to comment.