Skip to content

Conversation

@rhapsodyv
Copy link
Member

Description

Recently it was added a message to warning the user to disable MARLIN_DEV_MODE in production.

But it really annoy, disturb and confuse, when we are working in marlin with that option enabled.
As developers, one of your goals is to have a code completly free from erros and warnings.
And it's generating tons of warnings. That tends to confuse devs and soon will have more and more warnings of other types hidden in the middle of those of marlin dev mode....

Is there too many complains by users forgetting it enabled?

If so, we can work in a non intrusive option, like show a message in the marlin status screen.... It will warn the user, but it will not be annoying while working on marlin.

@GMagician
Copy link
Contributor

Is there too many complains by users forgetting it enabled?

#19069 this is the one I'm aware of

@rhapsodyv
Copy link
Member Author

Is there too many complains by users forgetting it enabled?

#19069 this is the one I'm aware of

One complain?

Anyway, I don't think we must annoy the devs.

Sure the dev could comment that warning line, but do they will do it? If they don't, it will hides real warning, and we may get more and more warnings soon.

I changed to add to the status screen the message. For a user, I think it will be enough.

@GMagician
Copy link
Contributor

I think it's the only one since DEV_MODE, but you asked ;-)

@rhapsodyv
Copy link
Member Author

The commit that added MARLIN_DEV_MODE to Configuration_adv.h is dated from 2018-07-02... So if we had only one complain, we are really fine to remove that warning 😉

@rhapsodyv rhapsodyv changed the title Remove Warning for MARLIN_DEV_MODE Non Intrusive Warning for MARLIN_DEV_MODE Aug 26, 2020
@thisiskeithb
Copy link
Member

Anyway, I don't think we must annoy the devs.

Or just comment out the check while developing.

@rhapsodyv
Copy link
Member Author

Anyway, I don't think we must annoy the devs.

Or just comment out the check while developing.

Sure the dev could comment that warning line, but do they will do it? If they don't, it will hides real warning, and we may get more and more warnings soon.

@thinkyhead thinkyhead merged commit cb75bec into MarlinFirmware:bugfix-2.0.x Aug 27, 2020
susisstrolch pushed a commit to susisstrolch/Marlin that referenced this pull request Aug 28, 2020
…K8800-2.0.x

* tag '2.0.6.1' of https://github.com/MarlinFirmware/Marlin: (195 commits)
  Version 2.0.6.1
  [cron] Bump distribution date (2020-08-28)
  Add set_all_homed
  Mark axes not-homed with HOME_AFTER_DEACTIVATE (MarlinFirmware#18907)
  set_axis_not_trusted => set_axis_never_homed
  Independent Neopixel option (MarlinFirmware#19115)
  Fix Creality V4 probe pin
  Fix small typø
  Allocate sufficient MSG_MOVE_Z_DIST buffer
  One MARLIN_DEV_MODE warning per rebuild (MarlinFirmware#19163)
  FYSETC S6 2.0 (MarlinFirmware#19140)
  [cron] Bump distribution date (2020-08-27)
  Fix SINGLENOZZLE fan speed bug (MarlinFirmware#19152)
  Fix NEOPIXEL_STARTUP_TEST last delay (MarlinFirmware#19156)
  TFT (plus Hardware SPI) for LPC (MarlinFirmware#19139)
  Prusa => Průša
  Direct Stepping update (MarlinFirmware#19135)
  Fixes to FTDI Touch UI (MarlinFirmware#19134)
  Add Einsy Rambo Filament Runout Pin (MarlinFirmware#19136)
  Fix SD pins for SKR Pro and GTR (MarlinFirmware#19047)
  ...
albertogg pushed a commit to albertogg/Marlin that referenced this pull request Aug 31, 2020
thinkyhead pushed a commit to thinkyhead/Marlin that referenced this pull request Sep 2, 2020
@rhapsodyv rhapsodyv deleted the disable-dev-mode-warning branch October 25, 2020 00:30
vgadreau pushed a commit to vgadreau/Marlin that referenced this pull request Dec 9, 2020
kageurufu pushed a commit to CR30-Users/Marlin-CR30 that referenced this pull request Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants