Bayley Wang
/
foc-ed_in_the_bot_compact
robot
modes.cpp
- Committer:
- bwang
- Date:
- 2018-02-20
- Revision:
- 209:befed15596a7
- Parent:
- Transforms/modes.cpp@ 204:74714d52a936
- Child:
- 232:47f6cf4f9126
File content as of revision 209:befed15596a7:
#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; } }