Browse Source

APM_OBC: replace header guard with pragma once

master
Lucas De Marchi 9 years ago committed by Andrew Tridgell
parent
commit
d82e80c749
  1. 5
      libraries/APM_OBC/APM_OBC.h

5
libraries/APM_OBC/APM_OBC.h

@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#pragma once
#ifndef APM_OBC_H
#define APM_OBC_H
/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -132,5 +131,3 @@ private: @@ -132,5 +131,3 @@ private:
// map from ArduPlane control_mode to APM_OBC::control_mode
#define OBC_MODE(control_mode) (auto_throttle_mode?APM_OBC::OBC_AUTO:(control_mode==MANUAL?APM_OBC::OBC_MANUAL:APM_OBC::OBC_FBW))
#endif // APM_OBC_H

Loading…
Cancel
Save