Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into shutter-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tecnd committed Oct 1, 2021
2 parents a220da0 + 039b8d9 commit 415140c
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 4,904 deletions.
1,449 changes: 0 additions & 1,449 deletions Adwin.c.old

This file was deleted.

147 changes: 0 additions & 147 deletions Adwin.h.old

This file was deleted.

8 changes: 3 additions & 5 deletions GUIDesign.c
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,6 @@ void BuildUpdateList(double TMatrix[], struct AnalogTableValues AMat[NUMBERANALO
// more debug info
tstop = clock();
timeused = tstop - tstart;
t = Start_Process(processnum);
tstop = clock();
sprintf(buff, "Time to transfer and start ADwin: %d", timeused);

GetMenuBarAttribute(menuHandle, MENU_PREFS_STREAM_SETTINGS, ATTR_CHECKED, &StreamSettings);
Expand Down Expand Up @@ -2960,9 +2958,9 @@ void CVICALLBACK RESETZERO_CALLBACK(int
int menuItem, void *callbackData,
int panel)
{
int ischecked = 0;
GetMenuBarAttribute(menuHandle, MENU_SETTINGS_RESETZERO, ATTR_CHECKED, &ischecked);
SetMenuBarAttribute(menuHandle, MENU_SETTINGS_RESETZERO, ATTR_CHECKED, abs(ischecked - 1));
int checked = 0;
GetMenuBarAttribute(menuHandle, MENU_SETTINGS_RESETZERO, ATTR_CHECKED, &checked);
SetMenuBarAttribute(menuHandle, MENU_SETTINGS_RESETZERO, ATTR_CHECKED, abs(checked - 1));
}
//***********************************************************************************************
void SaveLastGuiSettings(void)
Expand Down
Loading

0 comments on commit 415140c

Please sign in to comment.