Reference to 'byte' is ambiguous

This is not my code. I'm using ESP-1ch-Gateway-v5.0--OLD. I don't have a time right now to change every byte and to avoid using namespace std. But of course You are right! Thank You!