Skip to content

Commit

Permalink
Rebase, fix and update doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
3d-gussner committed Aug 10, 2023
1 parent 4ed227d commit 4db2998
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions Firmware/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7448,15 +7448,32 @@ SERIAL_PROTOCOLPGM("\n\n");
break;

#ifdef FILAMENT_SENSOR
/*!
### M405 - Filament Sensor on <a href="https://reprap.org/wiki/G-code#M405:_Filament_Sensor_on">M405: Filament Sensor on</a>
Turn on Filament Sensor extrusion control.
#### Usage
M405
*/

case 405: // M405 Enable Filament Sensor
{
fsensor_enable();
fsensor.setEnabled(1);
}
break;
/*!
### M406 - Filament Sensor off <a href="https://reprap.org/wiki/G-code#M406:_Filament_Sensor_off">M406: Filament Sensor off</a>
Turn off Filament Sensor extrusion control.
#### Usage
M406
*/

case 406: // M406 Disable Filament Sensor
{
fsensor_disable();
fsensor.setEnabled(0);
}
break;
#endif
Expand Down

0 comments on commit 4db2998

Please sign in to comment.