Skip to content

Commit

Permalink
Merge branch 'staging' of github.com:FarmBot/Farmbot-Web-App into bro…
Browse files Browse the repository at this point in the history
…adcast_documentation
  • Loading branch information
RickCarlino committed Jul 20, 2021
2 parents 1cd72f8 + 976c0be commit 9cd0df4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions db/migrate/20210720155040_change_stealth_config_default.rb
@@ -0,0 +1,7 @@
class ChangeStealthConfigDefault < ActiveRecord::Migration[6.1]
def change
change_column_default(:firmware_configs, :movement_axis_stealth_x, 1)
change_column_default(:firmware_configs, :movement_axis_stealth_y, 1)
change_column_default(:firmware_configs, :movement_axis_stealth_z, 1)
end
end
6 changes: 3 additions & 3 deletions frontend/settings/hardware_settings/default_values.ts
Expand Up @@ -30,9 +30,9 @@ const DEFAULT_FIRMWARE_CONFIG_VALUES: Record<NumberFirmwareConfigKey, number> =
movement_axis_nr_steps_x: 0,
movement_axis_nr_steps_y: 0,
movement_axis_nr_steps_z: 0,
movement_axis_stealth_x: 0,
movement_axis_stealth_y: 0,
movement_axis_stealth_z: 0,
movement_axis_stealth_x: 1,
movement_axis_stealth_y: 1,
movement_axis_stealth_z: 1,
movement_calibration_deadzone_x: 50,
movement_calibration_deadzone_y: 50,
movement_calibration_deadzone_z: 250,
Expand Down

0 comments on commit 9cd0df4

Please sign in to comment.