Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Transforms/modes.cpp
- Revision:
- 209:befed15596a7
- Parent:
- 208:3f3fe99c73ad
- Child:
- 210:f9b722cf8a2c
--- a/Transforms/modes.cpp Wed Feb 14 04:16:41 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-#include "prefs.h"
-
-bool mode_enables_logging() {
- switch(BREMS_mode) {
- case MODE_RUN:
- return true;
- case MODE_CFG:
- case MODE_ZERO:
- case MODE_CHR:
- return false;
- default:
- return false;
- }
-}
-
-bool mode_enables_output() {
- switch(BREMS_mode) {
- case MODE_RUN:
- case MODE_ZERO:
- case MODE_CHR:
- return true;
- case MODE_CFG:
- return false;
- default:
- return false;
- }
-}
\ No newline at end of file