mirror of
https://github.com/google/pebble
synced 2026-10-18 01:04:12 +02:00
Import of the watch repository from Pebble
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Regression test for issue #472: submsg_callback fails to compile in Atmel Studio
|
||||
|
||||
Import("env")
|
||||
|
||||
env.NanopbProto("test")
|
||||
env.Object("test.pb.c")
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
syntax = "proto3";
|
||||
|
||||
import "nanopb.proto";
|
||||
|
||||
message FirmwareUpdateCommand {
|
||||
string version = 1;
|
||||
uint32 size = 2;
|
||||
}
|
||||
|
||||
message CommandWrapperMessage {
|
||||
option (nanopb_msgopt).submsg_callback = true;
|
||||
|
||||
oneof payload {
|
||||
FirmwareUpdateCommand firmware_update = 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user