Skip to content

Commit fd773dc

Browse files
committed
Removed SupportedUserFieldsRequest.Address gRPC parameter
Because it's no more needed
1 parent da903d4 commit fd773dc

File tree

4 files changed

+20
-37
lines changed

4 files changed

+20
-37
lines changed

cli/compile/compile.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ func runCompileCommand(cmd *cobra.Command, args []string) {
211211
userFieldRes, err := upload.SupportedUserFields(context.Background(), &rpc.SupportedUserFieldsRequest{
212212
Instance: inst,
213213
Fqbn: fqbn,
214-
Address: port.Address,
215214
Protocol: port.Protocol,
216215
})
217216
if err != nil {

cli/upload/upload.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ func runUploadCommand(command *cobra.Command, args []string) {
100100
userFieldRes, err := upload.SupportedUserFields(context.Background(), &rpc.SupportedUserFieldsRequest{
101101
Instance: instance,
102102
Fqbn: fqbn,
103-
Address: port.Address,
104103
Protocol: port.Protocol,
105104
})
106105
if err != nil {

rpc/cc/arduino/cli/commands/v1/upload.pb.go

Lines changed: 20 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rpc/cc/arduino/cli/commands/v1/upload.proto

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,6 @@ message SupportedUserFieldsRequest {
162162
// necessary to pick the right upload tool for the board specified
163163
// with the FQBN.
164164
string protocol = 3;
165-
// If an FQBN is not provided but both protocol and address are
166-
// we can try and detect the FQBN using this information.
167-
string address = 4;
168165
}
169166

170167
message UserField {

0 commit comments

Comments
 (0)