mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-27 10:06:13 +01:00
Compare commits
1 Commits
b48399cac6
...
ce6cf3f78f
Author | SHA1 | Date | |
---|---|---|---|
|
ce6cf3f78f |
|
@ -1,9 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* © 2024, Paul Antoine
|
* © 2023, Neil McKechnie. All rights reserved.
|
||||||
* © 2023, Neil McKechnie
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
*
|
||||||
* This file is part of DCC-EX API
|
* This file is part of DCC++EX API
|
||||||
*
|
*
|
||||||
* This is free software: you can redistribute it and/or modify
|
* This is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -114,14 +112,13 @@ protected:
|
||||||
// Fill buffer with spaces
|
// Fill buffer with spaces
|
||||||
memset(_buffer, ' ', _numCols*_numRows);
|
memset(_buffer, ' ', _numCols*_numRows);
|
||||||
|
|
||||||
|
_displayDriver->clearNative();
|
||||||
|
|
||||||
// Add device to list of HAL devices (not necessary but allows
|
// Add device to list of HAL devices (not necessary but allows
|
||||||
// status to be displayed using <D HAL SHOW> and device to be
|
// status to be displayed using <D HAL SHOW> and device to be
|
||||||
// reinitialised using <D HAL RESET>).
|
// reinitialised using <D HAL RESET>).
|
||||||
IODevice::addDevice(this);
|
IODevice::addDevice(this);
|
||||||
|
|
||||||
// Moved after addDevice() to ensure I2CManager.begin() has been called fisrt
|
|
||||||
_displayDriver->clearNative();
|
|
||||||
|
|
||||||
// Also add this display to list of display handlers
|
// Also add this display to list of display handlers
|
||||||
DisplayInterface::addDisplay(displayNo);
|
DisplayInterface::addDisplay(displayNo);
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
|
|
||||||
#include "StringFormatter.h"
|
#include "StringFormatter.h"
|
||||||
|
|
||||||
#define VERSION "5.2.48"
|
#define VERSION "5.2.47"
|
||||||
// 5.2.48 - Bugfix: HALDisplay was generating I2C traffic prior to I2C being initialised
|
|
||||||
// 5.2.47 - EXRAIL additions:
|
// 5.2.47 - EXRAIL additions:
|
||||||
// STEALTH_GLOBAL
|
// STEALTH_GLOBAL
|
||||||
// BLINK
|
// BLINK
|
||||||
|
|
Loading…
Reference in New Issue
Block a user