AC_Sprayer: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:10 -02:00 committed by Andrew Tridgell
parent 4e9ca31cb9
commit 65680c8b8d
1 changed files with 1 additions and 5 deletions

View File

@ -16,9 +16,7 @@
8. set the SPRAY_PUMP_MIN to the minimum value that the pump servo should move to while engaged expressed as a percentage (i.e. 0 ~ 100) of the full servo range
9. set the SPRAY_SPEED_MIN to the minimum speed (in cm/s) the vehicle should be moving at before the pump and sprayer are turned on. 0 will mean the pump and spinner will always be on when the system is enabled with ch7/ch8 switch
**/
#ifndef AC_SPRAYER_H
#define AC_SPRAYER_H
#pragma once
#include <inttypes.h>
#include <AP_Common/AP_Common.h>
@ -83,5 +81,3 @@ private:
uint32_t _speed_over_min_time; // time at which we reached speed minimum
uint32_t _speed_under_min_time; // time at which we fell below speed minimum
};
#endif /* AC_SPRAYER_H */