Mirror with some correction

Dependencies:   mbed FastIO FastPWM USBDevice

Revision:
99:8139b0c274f4
Parent:
98:4df3c0f7e707
Child:
100:1ff35c07217c
--- a/config.h	Fri Mar 01 23:53:59 2019 +0000
+++ b/config.h	Sat Mar 02 21:05:43 2019 +0000
@@ -147,7 +147,7 @@
 const uint8_t PortFlagNoisemaker   = 0x02; // noisemaker device - disable when night mode is engaged
 const uint8_t PortFlagGamma        = 0x04; // apply gamma correction to this output
 const uint8_t PortFlagFlipperLogic = 0x08; // enable Flipper Logic on the port (timed power limitation)
-const uint8_t PortFlagMinOnTime    = 0x10; // enable Minimum On Time on this port
+const uint8_t PortFlagChimeLogic   = 0x10; // enable Chime Logic on this port (min/max time limits)
 
 // maximum number of output ports
 const int MAX_OUT_PORTS = 128;
@@ -188,19 +188,12 @@
     //
     uint8_t flipperLogic;
     
-    // Minimum On Time/reserved
-    //
-    //  - high 4 bits (0xF) are reserved
-    //  - low 4 bits (0x0F) give minimum on time
-    uint8_t minOnTime;
-    
-    void set(uint8_t typ, uint8_t pin, uint8_t flags = 0, uint8_t flipperLogic = 0, uint8_t minOnTime = 0)
+    void set(uint8_t typ, uint8_t pin, uint8_t flags = 0, uint8_t flipperLogic = 0)
     {
         this->typ = typ;
         this->pin = pin;
         this->flags = flags;
         this->flipperLogic = flipperLogic;
-        this->minOnTime = minOnTime;
     }
         
 } __attribute__ ((packed));