Skip to content

Commit 05332ea

Browse files
pedrominatelleeebo
andauthored
Apply suggestions from code review
Co-authored-by: leeebo <[email protected]>
1 parent 9eda883 commit 05332ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/motor/servo/examples/servo_control/main/servo_control.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
static const char *TAG = "Servo Control";
1414

15-
uint16_t calibration_value_0 = 30; // Real 0 degree angle
15+
static uint16_t calibration_value_0 = 30; // Real 0 degree angle
1616
uint16_t calibration_value_180 = 195; // Real 0 degree angle
1717

1818

@@ -33,7 +33,7 @@ static void servo_test_task(void *arg)
3333
vTaskDelete(NULL);
3434
}
3535

36-
void servo_init(void)
36+
static void servo_init(void)
3737
{
3838
ESP_LOGI(TAG, "Servo Control");
3939

0 commit comments

Comments
 (0)