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

Ian Lee
 

This is a warning that I am using byte and char without distinction.

If it does not compile and upload to ubitx, please wait a few days. I will remove warnings and release again.

I had a report from a beta tester using another compiler. Wait a moment and you will be able to download a clean source.

Thanks for information.

Ian kd8cec

2018. 2. 2. 오전 12:01에 "matjaz via Groups.Io" <matjaz_zejn=t-2.net@groups.io>님이 작성:

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)



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

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