1
0
mirror of https://github.com/p2r3/bareiron.git synced 2025-10-01 23:25:09 +02:00

fix compile warnings

This commit is contained in:
p2r3
2025-08-23 00:01:37 +03:00
parent 18902e7504
commit 47ffa755c7
2 changed files with 2 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ uint32_t fast_rand ();
uint64_t splitmix64 (uint64_t state); uint64_t splitmix64 (uint64_t state);
#ifdef ESP_PLATFORM #ifdef ESP_PLATFORM
#include "esp_timer.h"
#define get_program_time esp_timer_get_time #define get_program_time esp_timer_get_time
#else #else
int64_t get_program_time (); int64_t get_program_time ();

View File

@@ -1017,6 +1017,7 @@ int sc_removeEntity (int client_fd, int entity_id) {
writeByte(client_fd, 1); writeByte(client_fd, 1);
writeVarInt(client_fd, entity_id); writeVarInt(client_fd, entity_id);
return 0;
} }
// S->C Registry Data (multiple packets) and Update Tags (configuration, multiple packets) // S->C Registry Data (multiple packets) and Update Tags (configuration, multiple packets)