process all comments
[phd-thesis.git] / appx / mtask_aux.tex
index 28532c2..a088aa0 100644 (file)
@@ -85,8 +85,7 @@ Therefore, a sound detector is nothing more than a tuple of a \cleaninline{DPin}
 \begin{lstClean}[label={lst:mtask_sound},caption={Sound detection sensor interface in \gls{MTASK}.}]
 :: SoundDetector :== (DPin, APin)
 
-class SoundDetector v | tupl, expr, pinMode v & dio DPin v
-where
+class SoundDetector v | tupl, expr, pinMode v & dio DPin v where
        soundDetector :: DPin APin ((v SoundDetector) -> Main (v b)) -> Main (v b)
 
        soundPresence` :: (TimingInterval v) (v SoundDetector) -> MTask v Bool
@@ -140,21 +139,21 @@ class LEDMatrix v where
        , port        :: Int
        , pingTimeout :: ?Int
        }
-:: MQTTSettings = 
+:: MQTTSettings =
        { host     :: String
        , port     :: Int
        , mcuId    :: String
        , serverId :: String
        , auth     :: MQTTAuth
        }
-:: TTYSettings = {
-               devicePath :: String,
-               baudrate   :: BaudRate,
-               bytesize   :: ByteSize,
-               parity     :: Parity,
-               stop2bits  :: Bool,
-               xonxoff    :: Bool,
-               sleepTime  :: Int
+:: TTYSettings =
+       { devicePath :: String
+       , baudrate   :: BaudRate
+       , bytesize   :: ByteSize
+       , parity     :: Parity
+       , stop2bits  :: Bool
+       , xonxoff    :: Bool
+       , sleepTime  :: Int
        }
 \end{lstClean}