diff options
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 */ /** |
