NOVA: Use right syscall function for ec_ctrl

This commit is contained in:
Alexander Boettcher 2012-06-21 14:00:35 +02:00 committed by Norman Feske
parent cb8cbe8aad
commit a4cac757e2

View File

@ -195,7 +195,7 @@ namespace Nova {
ALWAYS_INLINE
inline uint8_t ec_ctrl(unsigned ec)
{
return syscall_1(NOVA_EC_CTRL, 0, ec);
return syscall_0(NOVA_EC_CTRL, 0, ec);
}
ALWAYS_INLINE