Prusa MINI Firmware overview
TemporaryBedLevelingState Class Reference

#include <bedlevel.h>

Public Member Functions

 TemporaryBedLevelingState (const bool enable)
 
 ~TemporaryBedLevelingState ()
 

Detailed Description

A class to save and change the bed leveling state, then restore it when it goes out of scope.

Constructor & Destructor Documentation

◆ TemporaryBedLevelingState()

TemporaryBedLevelingState::TemporaryBedLevelingState ( const bool  enable)

◆ ~TemporaryBedLevelingState()

TemporaryBedLevelingState::~TemporaryBedLevelingState ( )
52 { set_bed_leveling_enabled(saved); }
Here is the call graph for this function:
set_bed_leveling_enabled
void set_bed_leveling_enabled(const bool enable=true)