stanleyhuangyc / Freematics

Official source code repository for Freematics
https://freematics.com
419 stars 345 forks source link

telelogger v5 compile error #134

Closed fattylewis closed 3 years ago

fattylewis commented 3 years ago

Hey,

Trying to get telelogger to compile. Its currently failing with:


teleclient.cpp:393:16: error: expression cannot be used as a function
   if (net.code() == 200) {
                ^
exit status 1
expression cannot be used as a function```

Any advice?

This is usually triggered after changing NET_DEVICE to NET_WIFI. Leaving it as cell seems to compile fine.
stanleyhuangyc commented 3 years ago

Fixed