reset unrelated variables to base branch, fixed typos
This commit is contained in:
committed by
Rune Harlyk
parent
cec9024a26
commit
6104c54f39
Vendored
+6
-6
@@ -1,8 +1,8 @@
|
||||
declare module "app-env" {
|
||||
interface ENV {
|
||||
VITE_USE_HOST_NAME: boolean;
|
||||
}
|
||||
declare module 'app-env' {
|
||||
interface ENV {
|
||||
VITE_USE_HOST_NAME: boolean
|
||||
}
|
||||
|
||||
const appEnv: ENV;
|
||||
export default appEnv;
|
||||
const appEnv: ENV
|
||||
export default appEnv
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ class CommAdapterBase {
|
||||
size_t out_size;
|
||||
pb_get_encoded_size(&out_size, socket_message_Message_fields, &msg_);
|
||||
uint8_t *buffer = pb_heap_enc_buf;
|
||||
if (out_size > sizeof(pb_heap_enc_buf)) { // It the encoded size exceeds our buffer size, we needs to malloc a buffer of a proper size
|
||||
if (out_size > sizeof(pb_heap_enc_buf)) { // If the encoded size exceeds our buffer size, we needs to malloc a buffer of a proper size
|
||||
buffer = (uint8_t*) malloc(out_size);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user