Skip to content

Commit

Permalink
[LCD]
Browse files Browse the repository at this point in the history
* ignore VFD scroll procs for beyonwizt2
  • Loading branch information
jbleyel committed Aug 31, 2024
1 parent 60d35d7 commit 13f7efc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ AS_IF([test "$BOXTYPE" == "pulse4k"],[AC_DEFINE(HWPULSE4K, 1,[pulse4k])])
AS_IF([test "$BOXTYPE" == "pulse4kmini"],[AC_DEFINE(HWPULSE4KMINI, 1,[pulse4kmini])])
AS_IF([test "$MACHINEBUILD" == "gbue4k"],[AC_DEFINE(HWGBUE4K, 1,[gbue4k])])
AS_IF([test "$MACHINEBUILD" == "gbtrio4kpro"],[AC_DEFINE(HWGBTRIO4KPRO, 1,[gbtrio4kpro])])
AS_IF([test "$MACHINEBUILD" == "beyonwizt2"],[AC_DEFINE(HWBEYONWIZT2, 1,[beyonwizt2])])

AC_ARG_WITH(accelerationthreshold,
AS_HELP_STRING([--with-accelerationthreshold=n], [use acceleration threshold of n bytes]),
Expand Down
8 changes: 4 additions & 4 deletions lib/gdi/lcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void eLCD::unlock()

const char *eLCD::get_VFD_scroll_delay() const
{
#if defined(HAVE_7SEGMENT)
#if defined(HAVE_7SEGMENT) || defined(HWBEYONWIZT2)
return "";
#else
return (access(VFD_scroll_delay_proc, W_OK) == 0) ? VFD_scroll_delay_proc : "";
Expand All @@ -81,7 +81,7 @@ const char *eLCD::get_VFD_scroll_delay() const

const char *eLCD::get_VFD_initial_scroll_delay() const
{
#if defined(HAVE_7SEGMENT)
#if defined(HAVE_7SEGMENT) || defined(HWBEYONWIZT2)
return "";
#else
return (access(VFD_initial_scroll_delay_proc, W_OK) == 0) ? VFD_initial_scroll_delay_proc : "";
Expand All @@ -90,7 +90,7 @@ const char *eLCD::get_VFD_initial_scroll_delay() const

const char *eLCD::get_VFD_final_scroll_delay() const
{
#if defined(HAVE_7SEGMENT)
#if defined(HAVE_7SEGMENT) || defined(HWBEYONWIZT2)
return "";
#else
return (access(VFD_final_scroll_delay_proc, W_OK) == 0) ? VFD_final_scroll_delay_proc : "";
Expand All @@ -99,7 +99,7 @@ const char *eLCD::get_VFD_final_scroll_delay() const

const char *eLCD::get_VFD_scroll_repeats() const
{
#if defined(HAVE_7SEGMENT)
#if defined(HAVE_7SEGMENT) || defined(HWBEYONWIZT2)
return "";
#else
return (access(VFD_scroll_repeats_proc, W_OK) == 0) ? VFD_scroll_repeats_proc : "";
Expand Down

0 comments on commit 13f7efc

Please sign in to comment.