2.0.2017010102

Fixed bug in FEATURE_ELEVATION_CONTROL with brake control (Thanks, zoobie40)
This commit is contained in:
Anthony Good 2017-01-02 11:03:26 -05:00
parent f57e8a4bb7
commit 380ee24fa1
2 changed files with 10 additions and 4 deletions

View File

@ -269,6 +269,12 @@
2.0.2016102201 2.0.2016102201
Fixed bug with FEATURE_AZ_POSITION_HH12_AS5045_SSI, negative offset, and crossing between 359 and 0 degrees Fixed bug with FEATURE_AZ_POSITION_HH12_AS5045_SSI, negative offset, and crossing between 359 and 0 degrees
2.0.2017010101
Minor update in comments in settings files
2.0.2017010102
Fixed bug in FEATURE_ELEVATION_CONTROL with brake control (Thanks, zoobie40)
All library files should be placed in directories likes \sketchbook\libraries\library1\ , \sketchbook\libraries\library2\ , etc. All library files should be placed in directories likes \sketchbook\libraries\library1\ , \sketchbook\libraries\library2\ , etc.
in order to compile in Arduino IDE 1.6.7 in order to compile in Arduino IDE 1.6.7
Anything rotator_*.* should be in the ino directory! Anything rotator_*.* should be in the ino directory!
@ -276,7 +282,7 @@
*/ */
#define CODE_VERSION "2.0.2016102201" #define CODE_VERSION "2.0.2017010102"
#include <avr/pgmspace.h> #include <avr/pgmspace.h>
#include <EEPROM.h> #include <EEPROM.h>
@ -2107,8 +2113,8 @@ void brake_release(byte az_or_el, byte operation){
} }
} else { } else {
#ifdef FEATURE_ELEVATION_CONTROL #ifdef FEATURE_ELEVATION_CONTROL
if (operation == BRAKE_RELEASE_ON) {
if (brake_el) { if (brake_el) {
if (operation == BRAKE_RELEASE_ON) {
digitalWriteEnhanced(brake_el, BRAKE_ACTIVE_STATE); digitalWriteEnhanced(brake_el, BRAKE_ACTIVE_STATE);
brake_el_engaged = 1; brake_el_engaged = 1;
#ifdef DEBUG_BRAKE #ifdef DEBUG_BRAKE

View File

@ -12,7 +12,7 @@
*/ */
// #define FEATURE_ELEVATION_CONTROL // uncomment this for AZ/EL rotators #define FEATURE_ELEVATION_CONTROL // uncomment this for AZ/EL rotators
#define FEATURE_YAESU_EMULATION // uncomment this for Yaesu GS-232 emulation on control port #define FEATURE_YAESU_EMULATION // uncomment this for Yaesu GS-232 emulation on control port
// #define FEATURE_EASYCOM_EMULATION // Easycom protocol emulation on control port (undefine FEATURE_YAESU_EMULATION above) // #define FEATURE_EASYCOM_EMULATION // Easycom protocol emulation on control port (undefine FEATURE_YAESU_EMULATION above)