From ed95506bb1ea8b4f838412c3374ba32ca84f7870 Mon Sep 17 00:00:00 2001 From: Kevin Peterson Date: Thu, 19 Apr 2018 11:09:28 -0500 Subject: [PATCH] Fix for building on Windows --- motorApp/AMCISrc/ANF2Driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motorApp/AMCISrc/ANF2Driver.cpp b/motorApp/AMCISrc/ANF2Driver.cpp index 83d258cd..993a0a46 100644 --- a/motorApp/AMCISrc/ANF2Driver.cpp +++ b/motorApp/AMCISrc/ANF2Driver.cpp @@ -140,7 +140,7 @@ void ANF2Controller::doStartPoller(double movingPollPeriod, double idlePollPerio void ANF2Controller::report(FILE *fp, int level) { int i, j; - ANF2Axis* pAxis[numAxes_]; + ANF2Axis* pAxis[MAX_AXES]; fprintf(fp, "====================================\n"); fprintf(fp, "ANF2 motor driver:\n");