Skip to content

Commit cf036cf

Browse files
author
xlyric
committed
correction message serial en mode AP
1 parent 399fcce commit cf036cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/functions/minuteur.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ struct Programme {
139139
}
140140

141141
public:bool start_progr() {
142+
if (AP) { return false; } /// pas de programme en mode AP
143+
142144
struct tm timeinfo;
143145
memset(&timeinfo, 0, sizeof(timeinfo));
144146

@@ -198,6 +200,8 @@ struct Programme {
198200
/// @brief stop du programme
199201
/// @return
200202
public:bool stop_progr() {
203+
if (AP) { return false; } /// pas de programme en mode AP
204+
201205
struct tm timeinfo;
202206
memset(&timeinfo, 0, sizeof(timeinfo));
203207

0 commit comments

Comments
 (0)