@@ -616,7 +616,7 @@ extern uint32_t vscp_core_getTimeSinceEpoch(void)
616616 * Set the time since epoch 00:00:00 UTC, January 1, 1970.
617617 * Note, if a segment master is present, it will overwrite the time with its
618618 * heartbeat message.
619- *
619+ *
620620 * @param[in] timestamp Unix timestamp
621621 */
622622extern void vscp_core_setTimeSinceEpoch (uint32_t timestamp )
@@ -797,7 +797,7 @@ static inline void vscp_core_stateStartup(void)
797797/**
798798 * Change to init state.
799799 * - Drop nickname id.
800- *
800+ *
801801 * @param[in] probeSegmentMaster Probe for segment master (true) or start own nickname discovery (false).
802802 */
803803static inline void vscp_core_changeToStateInit (BOOL probeSegmentMaster )
@@ -1574,7 +1574,7 @@ static inline void vscp_core_handleProtocolHeartbeat(void)
15741574 vscp_core_changeToStateInit (TRUE);
15751575 }
15761576 }
1577-
1577+
15781578 /* If available, store time since epoch 00:00:00 UTC, January 1, 1970 */
15791579 if (5 <= vscp_core_rxMessage .dataNum )
15801580 {
@@ -1700,19 +1700,19 @@ static inline void vscp_core_handleProtocolDropNicknameId(void)
17001700 (3 == vscp_core_rxMessage .dataNum ))
17011701 {
17021702 uint8_t waitTime = 0 ;
1703-
1703+
17041704 /* Wait time received? */
17051705 if (3 == vscp_core_rxMessage .dataNum )
17061706 {
17071707 waitTime = vscp_core_rxMessage .data [2 ];
17081708 }
1709-
1709+
17101710 /* Byte 1:
17111711 * Bit 5 - Reset device. Keep nickname.
17121712 * Bit 6 - Set persistent storage to default.
17131713 * Bit 7 - Go idle. Do not start up again.
17141714 */
1715-
1715+
17161716 /* Set persistent memory to default (bit 6)? */
17171717 if (0 != (vscp_core_rxMessage .data [1 ] & (1 << 6 )))
17181718 {
@@ -1980,7 +1980,7 @@ static uint8_t vscp_core_readRegister(uint16_t page, uint8_t addr)
19801980 break ;
19811981 }
19821982 }
1983-
1983+
19841984#if VSCP_CONFIG_BASE_IS_ENABLED ( VSCP_CONFIG_ENABLE_DM )
19851985 /* Is the addressed register part of the decision matrix? */
19861986 else if (FALSE != vscp_dm_isDecisionMatrix (page , addr ))
@@ -2211,7 +2211,7 @@ static uint8_t vscp_core_writeRegister(uint16_t page, uint8_t addr, uint8_t val
22112211 /* Write protection disabled? */
22122212 else if (0 != vscp_core_getRegAppWriteProtect ())
22132213 {
2214-
2214+
22152215#if VSCP_CONFIG_BASE_IS_ENABLED ( VSCP_CONFIG_ENABLE_DM )
22162216 /* Is the addressed register part of the decision matrix? */
22172217 if (FALSE != vscp_dm_isDecisionMatrix (page , addr ))
0 commit comments