diff options
| author | Aditya Naik | 2020-04-07 00:42:05 -0400 |
|---|---|---|
| committer | Aditya Naik | 2020-04-07 00:42:05 -0400 |
| commit | 2aa5ae87f96b4c10ea52b29e356d1eed6103e3e8 (patch) | |
| tree | 7c19c417238c9b0bd7f838b367a0e763f4f7bfcf /Src | |
| parent | 88e041cb910f5d238cd5775921a339f529cbc3b1 (diff) | |
Branching off main hs
Diffstat (limited to 'Src')
| -rw-r--r-- | Src/main-hs.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Src/main-hs.c b/Src/main-hs.c index 7db3e7a..66d4dd6 100644 --- a/Src/main-hs.c +++ b/Src/main-hs.c @@ -72,7 +72,9 @@ static void MX_GPIO_Init(void); static void MX_I2C1_Init(void); static void MX_USART1_UART_Init(void); /* USER CODE BEGIN PFP */ -bool encode_subscription_callback(pb_ostream_t *ostream, const pb_field_t *field, void * const *arg); +bool decode_subscriptions_callback(pb_istream_t *istream, const pb_field_t *field, void **args); +int handshake(uint32_t i2c_addr); + /* USER CODE END PFP */ /* Private user code ---------------------------------------------------------*/ @@ -554,6 +556,12 @@ bool encode_subscription_callback(pb_ostream_t *ostream, const pb_field_t *field } return true; } + +int handshake(uint32_t i2c_addr) +{ + + return 1; +} /* USER CODE END 4 */ /** |
