Re: uBITX Firmware (CEC) 0.30 released (Test version). #ubitx

matjaz
 

hello,
i download source file ans compile.
In arduino recevied this mesage.
 
C:\ubitx\ubitx-0.33\ubitx_20\ubitx_idle.ino: In function 'void updateLine2Buffer(char)':
 
C:\ubitx\ubitx-0.33\ubitx_20\ubitx_idle.ino:150:32: warning: invalid conversion from 'byte* {aka unsigned char*}' to 'char*' [-fpermissive]
 
       strncat(line2Buffer, b, 5);
 
                                ^
 
In file included from C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:25:0,
 
                 from sketch\ubitx_20.ino.cpp:1:
 
c:\program files\arduino\hardware\tools\avr\avr\include\string.h:422:14: note: initializing argument 1 of 'char* strncat(char*, const char*, size_t)'
 
extern char *strncat(char *, const char *, size_t);
 
              ^
 
C:\ubitx\ubitx-0.33\ubitx_20\ubitx_idle.ino:154:31: warning: invalid conversion from 'byte* {aka unsigned char*}' to 'const char*' [-fpermissive]
 
         printLine2(line2Buffer);   
 
                               ^
 
C:\ubitx\ubitx-0.33\ubitx_20\ubitx_ui.ino:201:6: note: initializing argument 1 of 'void printLine2(const char*)'
 
void printLine2(const char *c){
 
      ^
 
C:\ubitx\ubitx-0.33\ubitx_20\ubitx_idle.ino: In function 'void idle_process()':
 
C:\ubitx\ubitx-0.33\ubitx_20\ubitx_idle.ino:223:31: warning: invalid conversion from 'byte* {aka unsigned char*}' to 'const char*' [-fpermissive]
 
         printLine2(line2Buffer);
 
                               ^
 
C:\ubitx\ubitx-0.33\ubitx_20\ubitx_ui.ino:201:6: note: initializing argument 1 of 'void printLine2(const char*)'
 
void printLine2(const char *c){
 
      ^
What i am doing wrong.
73
Matjaz
 

From: Ian Lee
Sent: Wednesday, January 31, 2018 1:10 PM
Subject: Re: [BITX20] uBITX Firmware (CEC) 0.30 released (Test version). #ubitx
 
You can download source, compiled hex file, etc. from the link below.
 
How to upload Hex files can be found in my blog below.
 
Thanks for your interesting
 
Ian KD8CEC
 
2018-01-31 20:58 GMT+09:00 Kari Syrjänen <beaconhunter@...>:
Is there compiled version available somewhere?

Kari OH6YW
 

--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)

Join BITX20@groups.io to automatically receive all group messages.