fix up some style issues in the laser PR
[clinton/Smoothieware.git] / src / modules / tools / laser / Laser.h
index 65395ae..003202a 100644 (file)
@@ -43,13 +43,14 @@ class Laser : public Module{
         float laser_minimum_power; // value used to tickle the laser on moves.  Also minimum value for auto-scaling
         float laser_maximum_s_value; // Value of S code that will represent max power
         float scale;
+        int32_t fire_duration; // manual fire command duration
+        int32_t ms_per_tick; // ms between each ticks, depends on PWM frequency
+
         struct {
             bool laser_on:1;      // set if the laser is on
             bool pwm_inverting:1; // stores whether the PWM period should be inverted
-            bool ttl_used:1;           // stores whether we have a TTL output
+            bool ttl_used:1;        // stores whether we have a TTL output
             bool ttl_inverting:1;   // stores whether the TTL output should be inverted
             bool manual_fire:1;     // set when manually firing
         };
-        int32_t fire_duration; // manual fire command duration
-        int32_t ms_per_tick; // ms between each ticks, depends on PWM frequency
 };