diff --git a/ba/ba4200.cpp b/ba/ba4200.cpp index 80278496c..14a8668b2 100755 --- a/ba/ba4200.cpp +++ b/ba/ba4200.cpp @@ -35,7 +35,7 @@ protected: virtual bool changing_mask(int mode) {return _msk[tip_msk()] == NULL;} virtual const char* get_next_key(); virtual TMask* get_mask(int mode) ; - virtual void write_enable(const bool on = TRUE); + virtual void write_enable(bool on = TRUE); static bool ba4200_handler(TMask& m, KEY k); @@ -476,11 +476,11 @@ bool TPersone_app::user_create() return TRUE; } -void TPersone_app::write_enable(const bool on) +void TPersone_app::write_enable(bool on) { - _rel[MSKF]->write_enable(-1, on); - _rel[MSKG]->write_enable(-1, on); + _rel[MSKF]->write_enable(0, on); + _rel[MSKG]->write_enable(0, on); } bool TPersone_app::user_destroy()