Getting warning C209 as 'too few actual parameters'

Status
Not open for further replies.

angiey

Junior Member level 1
Joined
Jul 2, 2012
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,436
As i'm using Keil IDE, i'm getting the warning as too few actual parameters,& is there any alternative for uint8_t since in my program i have not used
stdint.h header file so when i initialised uint8_t to unsigned char typedef it got compiled with the above warning msg..
Help me in solving this warning..





Code C - [expand]
1
2
3
4
5
6
typedef unsigned char uint8_t;
 
void set_output_v(uint8_t v)
{
P2 = (P2 & 0xF0) | v;
}

 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…