summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-09-26 22:30:30 +0200
committerSylvain Munaut <tnt@246tNt.com>2010-09-28 08:04:18 +0200
commitf8d372d7e414cbab90783f822ffe867dfd166045 (patch)
treef5c264db5582efa5988373f5cc2e94ffc8851b2c
parent167648f2a5636ff1fb0c8c03d3f0781fa9c00aff (diff)
fw/layer1: Fix type of p3 in tdma window setup/cleanup sched items
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r--src/target/firmware/layer1/tpu_window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/firmware/layer1/tpu_window.c b/src/target/firmware/layer1/tpu_window.c
index 5cb1a5d4..09437da5 100644
--- a/src/target/firmware/layer1/tpu_window.c
+++ b/src/target/firmware/layer1/tpu_window.c
@@ -67,7 +67,7 @@ static const uint16_t tx_burst_duration[_NUM_L1_TXWIN] = {
};
-static int _win_setup(__unused uint8_t p1, __unused uint8_t p2, __unused uint8_t p3)
+static int _win_setup(__unused uint8_t p1, __unused uint8_t p2, __unused uint16_t p3)
{
uint8_t tn;
@@ -79,7 +79,7 @@ static int _win_setup(__unused uint8_t p1, __unused uint8_t p2, __unused uint8_t
return 0;
}
-static int _win_cleanup(__unused uint8_t p1, __unused uint8_t p2, __unused uint8_t p3)
+static int _win_cleanup(__unused uint8_t p1, __unused uint8_t p2, __unused uint16_t p3)
{
uint8_t tn;