Skip to content

Commit

Permalink
Merge pull request #19 from OpenAstroTech/oam-support
Browse files Browse the repository at this point in the history
V2.12 - Fixed duplicate output
  • Loading branch information
ClutchplateDude authored Feb 20, 2024
2 parents eec58de + 7c99b24 commit 3198150
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/modules/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Home = (props) => {
<div className="intro-link-child">
<h3 className="intro-header">OAT/OAM FIRMWARE CONFIGURATION</h3>
<a className="intro-link" href="steps">START</a>
<p className="version">V2.11</p>
<p className="version">V2.12</p>
</div>
</div>

Expand Down
15 changes: 10 additions & 5 deletions src/modules/WizardStep.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1119,13 +1119,19 @@ const WizardStep = (props) => {
'// #define AZ_CIRCUMFERENCE (725) // the circumference of the circle where the movement is anchored',
'// #define AZ_PULLEY_TEETH 16',
'',
'// Should AZ motor stay energized?',
'#define AZ_ALWAYS_ON 1',
'',
'// Is it going the wrong way?',
'#define AZ_INVERT_DIR 0'
]
}],
},
{
literal : [
'',
'// Should AZ motor stay energized?',
'#define AZ_ALWAYS_ON 1',
],
condition: "$tracker == OAM",
}
],
define: '',
control: {
type: 'textinput',
Expand Down Expand Up @@ -1244,7 +1250,6 @@ const WizardStep = (props) => {
'',
'///////////////////////////////',
'// ALT parameters are for hardware as designed',
'#define ALT_MICROSTEPPING 64',
'#define ALTITUDE_STEPS_PER_ARC_MINUTE ((1640 / 60) * ALT_MICROSTEPPING)',
'',
'// Is it going the wrong way?',
Expand Down

0 comments on commit 3198150

Please sign in to comment.